Hi,
I have a question regarding memory usage of
java web applications..
In Task manager,
Tomcat service seems to occupy 8,677,544,000 Bytes of memory
In jvisualvm, memory usage of the java application deployed under that Tomcat service is as follows
Heap
----
Used: 2,304,233,184 B
Size: 8,589,934,592 B
Max: 10,737,418,240 B
Permgen
-------
Used: 80,272,056 B
Size: 536,870,912 B
Max: 536,870,912 B
Memory Parameters which I have configured in Tomcat's Service.bat file:
-Xms8192m;-Xmx10240m;-XX:PermSize=512m;-XX:MaxPermSize=512m
Now, my question is no matter what I set MaxHeapFreeRatio the free space is not shrinking evenhough the used space is shrinking at times.
Can anyone, kindly tell me why is this behaving like this.. Is there a way to shrink the free space so that other processes runnning on the system can utilize it?
I am using latest versions of JDK 1.7 & Tomcat 7..
Thanks,
Vivek