Measure memory usage in Python

gene tani gene.tani at gmail.com
Mon May 1 05:49:23 CEST 2006


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/




More information about the Python-list mailing list