2013/10/14 Mark Lawrence <breamore...@yahoo.co.uk>:
> 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

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to