Possible Duplicate:
Python memory profiler
I wrote a python script that calls functions from another module but uses lots of memory. Is there a function which could measure the size of the memory used by a piece of code?
Possible Duplicate:
Python memory profiler
I wrote a python script that calls functions from another module but uses lots of memory. Is there a function which could measure the size of the memory used by a piece of code?
Have you tried http://pysizer.8325.org/ ? There is also: http://guppy-pe.sourceforge.net/#Heapy