On Wed, Jul 2, 2008 at 2:56 PM, laurent oget <[EMAIL PROTECTED]> wrote:
> I am using matplotlib to produce a big number(16000) of charts and am facing
> a steady memory leak. my code sofar looks like:
>
> while(1):
>     fig=PL.figure(1)
>     ..plot some things..
>     fig.clf()
>     PL.close()
>
>
> am i missing something?

What backend are you using -- some of the GUI backends have known
leaks that are outside the control of mpl.  So you may want to use the
agg backend (or ps, etc.).  If you still gt a leak, consult the memory
leak FAQ and follow instructions there

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

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to