How to measure the memory cost in Python?

Li Wang at
Fri May 1 04:03:22 EDT 2009

Hi everyone:

I want to measure the actual memory cost of a particular step in my program
(Python program), does anyone know if there is some function in Python could
help me to do this job? Or should I seek other tools to help me?

Thank you very much!

Time is all we have
and you may find one day
you have less than you think
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list