Old generation and GC
Hello there! I'm tuning a app here and we sure do have some sort of memory leak. But there's something that intrigues me.
We have 3gb of total heap space:
Xmx3000m Xms3000m XX:NewRation=4
With this we have around 2.4gb of old generation. Our OG fills as fast as a bullet (JBoss application server), and it's not shrinking. vm waits until 90% of use to run the full gc and most of times restores 10% or less of memory. Before that we had a newratio=3 and the situation was the same. The more memory we give, the more it consumes.
My question is: how often does the full gc runs? What would be the reason of restoring just 10% or less of the memory? Also, during low usage periods (late night) it does not run any gc to reclaim the memory is this normal?
Best regards

