Profiling memory usage?

Michael James Barber mjbarber at ascc.artsci.wustl.edu
Wed Feb 27 08:55:23 EST 2002


I'm currently looking to optimize a couple of my python programs in terms
of memory usage.  I think I know what I need to improve, but I suspect
that "profile before optimizing" applies to memory usage as well as to
speed.

Is there something analogous to the profile module for describing how much
memory is used by e.g. instances of different classes?  I didn't find
anything using Google or in the Vaults of Parnassus.

-- 
					Michael J. Barber



More information about the Python-list mailing list