Measure memory usage in Python

Rune Strand rune.strand at gmail.com
Sun Apr 30 17:18:10 EDT 2006


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]?




More information about the Python-list mailing list