Re: [Matplotlib-users] Possible memory-leak while plotting in a loop

2008-02-01 Thread Aaron Botnick
Thanks again for your help! I can confirm that your patch works, and appreciate it. I'm almost surprised that I'd be one of the few running codes that would find a problem such as this, with plotting repeatedly over a large number of iterations. On Feb 1, 2008 11:22 AM, Michael Droettboom <[EM

Re: [Matplotlib-users] Possible memory-leak while plotting in a loop

2008-01-31 Thread Aaron Botnick
Mike, In response to your questions, yes, I meant to say MPL version 0.91.2. I believe the objects were lists and dictionaries, and they appeared to be related to plotting parameters, such as those found in rcParams. http://www.laminarchaos.net/research/slicer_test.tar.gz I'm now including a li

Re: [Matplotlib-users] Possible memory-leak while plotting in a loop

2008-01-31 Thread Michael Droettboom
Also, if you're adventurous, try installing valgrind and running: valgrind --tool=massif python slicer.py valgrind --tool=memcheck --leak-check=yes --log-file=slicer_leak python slicer.py and send me the output -- (probably off list because they will be large files). Cheers, Mike Aaron Botni

Re: [Matplotlib-users] Possible memory-leak while plotting in a loop

2008-01-31 Thread Michael Droettboom
Aaron Botnick wrote: > I'm using MPL to plot a 6 panel figure of 2d data using pcolormesh. I > started this script last night, and found it consuming over 3GB of > memory when I got in this morning. Another one... ;) > After reading through old posts to > this list, I came across this suggest

[Matplotlib-users] Possible memory-leak while plotting in a loop

2008-01-31 Thread Aaron Botnick
Hi all, I'm using MPL to plot a 6 panel figure of 2d data using pcolormesh. I started this script last night, and found it consuming over 3GB of memory when I got in this morning. After reading through old posts to this list, I came across this suggestion: http://sourceforge.net/mailarchive/for