How to measure the memory cost in Python?

Chris Rebert clp2 at rebertia.com
Fri May 1 11:04:16 EDT 2009


On Fri, May 1, 2009 at 7:54 AM, CTO <debatem1 at gmail.com> 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.

Cheers,
Chris
-- 
http://blog.rebertia.com



More information about the Python-list mailing list