In my python program, I use pandas
to read a csv file and store in memory:
data = pandas.read_csv('data.csv')
Before running the above command I check the free memory with free -m
and the output is 1704
. After running the above command the output is 729
. I run
del(data)
to free the memory used by data
. Now when I check the free memory the output is 1093
which is much less than the original 1704
. Where did the rest go? How can I free it? I'm running all these in ipython
and even exiting ipython doesn't free up that memory.
Thanks.