How to measure the memory cost in Python?

Chris Rebert clp2 at
Fri May 1 17:04:16 CEST 2009

On Fri, May 1, 2009 at 7:54 AM, CTO <debatem1 at> wrote:
> Not OP, but I'd actually like to know if there's an answer to this one
> that doesn't involve platform-specific tools.

sys.getsizeof() [a suggested solution] isn't platform-specific.


More information about the Python-list mailing list