Memory profiling: Python 3.2

Andrew Robinson andrew3 at
Fri Nov 2 20:57:47 CET 2012

When Python3.2 is running, is there an easy way within Python to capture 
the *total* amount of heap space the program is actually using  (eg:real 
memory)?  And how much of that heap space is allocated to variables ( 
including re-capturable data not yet GC'd ) ?

More information about the Python-list mailing list