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

Reply via email to