Measure memory usage in Python

gene tani gene.tani at gmail.com
Mon May 1 10:08:02 EDT 2006


Rune Strand wrote:
> gene tani wrote:
> > Rune Strand wrote:
> > > Is there a way to measure how much memory a data structure use? For
> > > instance, what is the footprint of a particular list object like
> > > [0,1,2,3,4,5,6,7,8,9]?
> >
> > i have a note to try this, but haven't got around to it, if you want to
> > blog/post
> >
> > http://pysizer.8325.org/
>
> Thank you!  That seems to be what I was looking for.

ok, my notes are disorganized:

http://guppy-pe.sourceforge.net/#Heapy
http://www.softwareverify.com/




More information about the Python-list mailing list