How to measure the memory cost in Python?

Jean MrJean1 at gmail.com
Fri May 1 12:37:49 EDT 2009


On May 1, 7:54 am, CTO <debat... 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.

Depending on what you need and the O/S you are using, this recipe may
help

  <http://code.activestate.com/recipes/286222/>

That recipe also appeared in the 2nd edition of the Python Cookbook,
see

  <http://books.google.com/books?
id=Q0s6Vgb98CQC&printsec=frontcover&dq=editions:ISBN0596001673#PPA334,M1>

/Jean Brouwers



More information about the Python-list mailing list