Re: [Matplotlib-users] graphs in memory

2009-10-20 Thread bas pigmans
#pyplot.show()
pyplot.savefig(self.save+"/graph/"+sav+".png")
os.remove(self.save+"/temp.fa")
pyplot.clf()

break
except:
#print workspacer +" failed"
#print "ERROR"
pass

the code itself works and does what it needs to do, side effect is
that when i later make and show a graph all the graphs made by this
code are also shown and i get the error

2009/10/14 Ryan May :
> On Mon, Oct 12, 2009 at 8:09 AM, bas pigmans  wrote:
>> hi
>>
>> i am trying to use mathplot in a script that has to produce and store about
>> 3000 graps a time, the problem i have is that something inside mathplot
>> keeps stroring in the memmory, (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 tryed the .clf and .close options
>
> In order to help you, we'll need to see a complete, minimal script
> that shows the problem you're having.  Memory issues usually depend on
> the specifics of how you're doing something,
>
> Ryan
>
> --
> Ryan May
> Graduate Research Assistant
> School of Meteorology
> University of Oklahoma
>

--
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


[Matplotlib-users] graphs in memory

2009-10-14 Thread bas pigmans
 hi

 i am trying to use mathplot in a script that has to produce and store
about 3000 graps a time, the problem i have is that something inside
mathplot keeps stroring in the memmory, (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 tryed the .clf and .close options

 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


[Matplotlib-users] graphs in memory

2009-10-14 Thread bas pigmans
hi

i am trying to use mathplot in a script that has to produce and store about
3000 graps a time, the problem i have is that something inside mathplot
keeps stroring in the memmory, (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 tryed the .clf and .close options

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


[Matplotlib-users] graphs in memory

2009-10-14 Thread bas pigmans
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