[jboss-user] [Performance Tuning] - Re: JVM pauses periodically

PeterJ do-not-reply at jboss.com
Fri Aug 22 15:52:26 EDT 2008


The only reliable picture of what is going on with GC is by collecting GC data - mechanisms that use JMX or the JConsole provide only snapshots of current heap usage at the time the snapshot was taken. What is missing from that data is how much heap space survives each GC and in particular the final heap size after a major GC. That data is critical in right-sizing the heap.

And yes, too big of a heap is bad. There is an anti-pattern along the lines of "if a little is good then more must be better", and that definitely applies to the heap. If the heap is too large you will pay for it in time spent on a major GC.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172052#4172052

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172052



More information about the jboss-user mailing list