I have written a plplot application that reads in streamed data and 
continuously updates 9 plots within a single window. However, after about 30 
minutes or so, the plot buffer grows so large that the application 
closes/crashes with
PLPLOT ERROR, IMMEDIATE EXIT
plbuf wr_data: Plot buffer grow failed.

If I run plplot with debug enabled, I get the console messages:
Growing buffer to 1408 KB
Growing buffer to 40704 KB
Growing buffer to 41216 KB etc...

Valgrind shows the memory issue occurs with the calls to plenv.

Besides closing and reopening the entire window, is it possible to use plplot 
without allowing the buffer to continuously grow?

The same issue is described 3 years ago at
http://www.mail-archive.com/[email protected]/msg00659.html
without an end solution.

Thank you for any assistance.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to