RE: Free Memory Dropping At Idle
> From: Randall Smith [mailto:rand...@tnr.cc] > Subject: Free Memory Dropping At Idle > > After the processing is complete, the free memory as reported > by Tomcat cycles down, each time having a lower peak and valley > until it almost reaches 0. Then when it's about to hit 0 M, > it's all freed up. What you're describing is perfectly normal behavior - that's the way garbage collection works. You only have a leak if the heap space in use immediately after a full GC appears to be increasing over time. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Free Memory Dropping At Idle
I suspect a memory leak in an application I'm running on Tomcat 6.0.26 and Sun Java 1.6.0_12. After a file is posted, the application responds ('your file is uploaded blah blah'), then processes the file in a thread. After the processing is complete, the free memory as reported by Tomcat cycles down, each time having a lower peak and valley until it almost reaches 0. Then when it's about to hit 0 M, it's all freed up. Please note that there is no load on Tomcat while this is happening except for the stats request from the Tomcat manager. Max is 512 M -- Free Memory After Job Completion -- 256 M 254 M ... 130 M 250 M 248 M ... 120 M 240 M Until Total Memory == Max Memory and Free gets close to 0 M. At that point, nearly all the memory is freed. 12 M 10 M ... 2 M 471 M Any idea what might cause this behavior? Randall - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org