1

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?

Community
  • 1
  • 1
KKc
  • 324
  • 1
  • 5
  • 16

1 Answers1

1

Have you tried http://pysizer.8325.org/ ? There is also: http://guppy-pe.sourceforge.net/#Heapy

uhz
  • 2,468
  • 1
  • 20
  • 20