Measure memory usage in Python

Rune Strand rune.strand at gmail.com
Mon May 1 09:31:16 EDT 2006


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.




More information about the Python-list mailing list