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
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
Hi all,
I've noticed that when I save my figures using savefig the memory is
not immediately released. For example, in pseudocode,
times = get_times()
for var_id in var_list:
Plotting.figure()
var_values = get_values(var_id)
pylab.plot(times, values)
Plotting.savefig(var+'.p