Re: [Matplotlib-users] savefig memory useage

2007-12-04 Thread Jordan Atlas
Mike, Updating to 0.91.1 fixed it. Python's memory usage was climbing in excess of 1 GB when running this script before (eventually crashing) -- now it hovers nicely around 60MB and completes with no problems. Excellent! Thanks, --Jordan Michael Droettboom wrote: > You can try running

Re: [Matplotlib-users] savefig memory useage

2007-12-04 Thread Michael Droettboom
You can try running the garbage collector after each savefig. ("import gc" and then call "gc.collect()"). If you are using a GUI backend, you may want to try using the "raw" Agg backend instead -- there are fewer moving parts that way. There have been a number of memory leaks that have been f