Paul, On Wed, 2008-09-10 at 08:18 -0400, [EMAIL PROTECTED] wrote: > tomeu wrote: > > On Wed, Sep 10, 2008 at 2:05 PM, James Cameron <[EMAIL PROTECTED]> wrote: > > > > > Has anyone got an idea of how to measure the heap by usage? > > > > Not from outside python, but from inside we are using heapy: > > > > http://guppy-pe.sourceforge.net/ > > i started down that path yesterday afternoon, and realized that it > wasn't clear to me how i needed to invoke it. it seems to want > to be imported before you start the rest of your program, which > sort of forces you into interactive mode. is that your understanding? > i had been hoping to be able to "attach" to the sugar shell process, > in the way one might do with gdb. perhaps that's not possible. >
There is kick-start tutorial on how to use heapy's remote monitor at the 56th page of http://guppy-pe.sourceforge.net/heapy-thesis.pdf For the shell I use to put `import guppy.heapy.RM' before any other import statement in main.py. riccardo _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel