[sugar] memory profiling of python activities

Tomeu Vizoso tomeu at tomeuvizoso.net
Fri Jul 27 07:50:16 EDT 2007


Hi all,

was just looking at heapy for gathering statistics of python mem usage
and found it very interesting.

Specially the remote monitoring mode, by which you can attach to another
process and start an interactive prompt where you can query the memory
usage of it. This only requires you to import guppy.heapy.RM from your
activity:

http://guppy-pe.sourceforge.net/heapy_Use.html#heapykinds.Use.monitor

Regards,

Tomeu



More information about the Sugar mailing list