I added support to get the memory pool sizes when getting the JVM stats using the node stats API, so it will be simpler to know what values each has (including the eden/new).
On Monday, February 6, 2012 at 6:15 PM, Hao Lian wrote:
You don't have to move to Java 7, but can you try and run with a newer Java 6 version? u18 is very old.
Good idea! I'll ask our sysadmins.
Where did you see that the value of the new generation was 2gb?
We calculated this purely from JVM docs. (If there's a tool to measure
this for us, we'd love to have it.) I'm redoing the calculations and
getting different values nowso I think it's entirely possible we
made an error in the heat of the moment, but our impetus for
decreasing it was that we were seeing eden steadily climb up and up in
jstat until it became full at which point a move to the survivor
spaces occurred and spiked the CPU.