|
From: Goyo <goy...@gm...> - 2013-10-14 19:18:51
|
2013/10/14 Mark Lawrence <bre...@ya...>: > On 14/10/2013 13:51, OCuanachain, Oisin (Oisin) wrote: >> Hi, >> >> I am having problems with a script. It runs a number of iterations and >> plots and saves a number of plots on each iteration. After the plots >> have been saved I issue the pyplot.close(‘all’) command so despite many >> plots being created only 4 should be open at any given time which should >> not cause any memory problems. When I run the script however I see the >> RAM usage gradually growing without bound and eventually causing the >> script to crash. Interestingly I have found if I comment out the >> pyplot.ion() and pyplot.ioff() the problem vanishes. So I do have a >> workaround but it would still be good to have this fixed in case I >> forget about it in future and loose another weekend’s work. >> >> My OS is Windows XP Service Pack 3 >> Python 2.6 >> Matplotlib 1.0.1 >> > > Is this actually a matplotlib problem or could it be a Windows problem > as discussed here http://bugs.python.org/issue19246 ? I think this is different. That bug report is not about RAM usage growing without bound but memory allocation failing with plenty of RAM available. Goyo |