From: Jay C. <jea...@is...> - 2004-01-15 09:13:56
|
hello again! to answer my previous question: My 50 channel oscilloscope application is feasible with plplot as graph library. It is really fast. I use the polygon fill function to erase previous plotted data. but another problem: If I let the program run a long time my hard disk fills up. It took some time to find out what file would get so huge, because the file doesn't show up in the filesystem, because it is already deleted. (funny phenomenon). #lsof -c scope COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME (...) scope 32031 root 6u REG 8,3 1415630848 19684 /tmp/tmpfXiOQuk (deleted) I suspect that pouring that many data so fast into the X-server or the plplot device perhaps causes it to build up a queue which grows ever bigger. But however my application runs normally and everything I want it to draw gets drawn even after the disk is saturated. So where does the tempfile come from, why is it deleted (it immediately goes away when the program exits) and what exactly is its purpose? How could I correct this? Thanks in advance for any help. |