Dear All, I had forgotten about this issue, but now I get users that suddenly experience an enormous growth in memory usage, resulting in a hanging system. This happens as users more and more make large plots/replots. Memory grows steadily, but at a certain moment it takes an enormous grow (don't know why, but is grows slowly to 1GB and then without any reason -at the next replot of the same data- to 12GB and more) and then the system hangs.
Setting "ulimit -v 12582912" prevents the system from hanging and gives the next error : *** PLPLOT ERROR, IMMEDIATE EXIT *** plbuf wr_data: Plot buffer grow failed Program aborted I did not find anything in the current documentation, so I wondered if this issue already has been addressed in the 5.9.5 release ? A simple "plclearall" - like Robert mentioned - would also help a lot in my case. I am using RH4 and the X-window driver on a 16GB machine. Thanks for any advice and help, Hans Rijneke -----Original Message----- From: Robert Pollak [mailto:robert.pol...@jku.at] Sent: Friday, April 03, 2009 15:31 To: Werner Smekal Cc: plplot-general@lists.sourceforge.net Subject: Re: [Plplot-general] How to clear the plot buffer of awxPLplotwindow? Hi Werner, you wrote: >> Since I now have to update a plot very often and over long time, >> let me ask whether the plot buffer can be cleared to avoid the >> memory hogging, short of deleting/recreating the wxPLplotwindow. > > [...] unfortunately the fix for this is not that easy. If you have > only one subwindow, then it would be ok to clear the buffer if > pladv() is called. But this is not true if you have 2 or more > subwindows. Clearing one subwindow with e.g. pladv(1) doesn't mean > that you want to clear the other subwindows, what would happen if you > clear the buffer. This might be no problem for your case, but we > would break the library for all who use subwindows. The fix I have in > mind is to split the buffers depending in what subwindow we plot. > [...] it will need some time (say weeks to months) [...] I understand. Would it be possible to introduce a "plclearall" function for my use case, which clears all subwindows? This would certainly be much easier. --Robert ------------------------------------------------------------------------------ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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/devconf _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general