Memory stats

Diez B. Roggisch deets at nospam.web.de
Sun Sep 25 08:22:28 EDT 2005


Tarek Ziadé wrote:
> Hi list,
> 
> I am trying to find a general memory profiler that can measure the
> memory usage in Python program
> and gather some stats about object usages, and things like that.
> 
> I am trying to find a simple python module to be able to customize it
> and integrates it to other tools i have.
> (it should exists i guess)

Try the gc-module. It's a no-brainer to compute a class histogram. I 
once even wrote my own Qt-based analyzer - maybe I'll release it one day :)

Diez



More information about the Python-list mailing list