Looking for memory tips for interactive use

You can try to do:

    > import gc gc.collect()

    > This will force the garbage collector to kick in, which
    > sometimes may help.

I'm not seeing any leak on linux with my standard memory leak test, eg

  unit/memleak_hawaii3.py

in CVS.

Have you read over

  http://matplotlib.sourceforge.net/faq.html#LEAKS

Unfortunately, the standard idiom I use for testing memory usage is
platform specific.

A complete script which exposes the leak would help...

JDH

John Hunter wrote:

"Fernando" == Fernando Perez <Fernando.Perez@...179...> writes:

    > You can try to do:

    > import gc gc.collect()

    > This will force the garbage collector to kick in, which
    > sometimes may help.

I'm not seeing any leak on linux with my standard memory leak test, eg

  unit/memleak_hawaii3.py

in CVS.

Oh, I don't think it's necessarily a leak. Simply a ton of unreachable stuff lying around, which a call to gc.collect() may help with.

Best,

f