Stability and Memory Pressure in 8.2

riccardo riccardo.lucchese at gmail.com
Wed Sep 10 08:37:45 EDT 2008


Paul, 

On Wed, 2008-09-10 at 08:18 -0400, pgf at laptop.org wrote:
> tomeu wrote:
>  > On Wed, Sep 10, 2008 at 2:05 PM, James Cameron <quozl at laptop.org> 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




More information about the Devel mailing list