I have an application running in
Tomcat in a machine with 3 GB RAM. The JVM memory ha been set to 1.5 GB.
OS: fedora core9
Tomcat version: 5.0.19
java: 1.4.2
java -x parameters : Xms1536m -Xmx1536m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:NewSize=384m -XX:MaxNewSize=768m
My application crashes every 3-5 days. I cant find out any memory leaks in my program, and when i check the free memory at that time, (using java runtime freeMemory(), it always prints a value between 700MB to 1 GB).
To simulate the situation, i tested the application many times, by tracking the memory usage giving a high load on the application, Then i can see the free memory going down and then again going up and thus application runs without any issue.
I am totally lost, please help..