graphs in memory

hi

i am trying to use mathplot in a script that has to produce and store
about 3000 graphs a time, the problem i have is that something inside
mathplot keeps storing in the memory, (eigther the graph or the file
to write to i guess...) so once it reached 1.5GB of ram it crashes

i hope you can help me find a way to flush this memory usage

already tried the .clf and .close options as well as the hold option

regards Bas

Bas,

Send an example of how you're handling the plotting. I have had similar
issues, but I've finally figured out how to work around it. Basically, look
at the Object Oriented examples, rather than using pyplot.

What I found to be most efficient was to reuse figures as much as possible,
but delete the axes or just collections therein.

-john

bas pigmans wrote:

ยทยทยท

hi

i am trying to use mathplot in a script that has to produce and store
about 3000 graphs a time, the problem i have is that something inside
mathplot keeps storing in the memory, (eigther the graph or the file
to write to i guess...) so once it reached 1.5GB of ram it crashes

i hope you can help me find a way to flush this memory usage

already tried the .clf and .close options as well as the hold option

regards Bas

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
View this message in context: http://www.nabble.com/graphs-in-memory-tp25887905p25889534.html
Sent from the matplotlib - users mailing list archive at Nabble.com.