Peter Johnson [
http://community.jboss.org/people/peterj] created the discussion
"Re: Full Garbage Collection every few seconds – GC frees very little
memory (JBoss 4.2.3 with JDK 1.5.0 64-bit)"
To view the discussion, visit:
http://community.jboss.org/message/572316#572316
--------------------------------------------------------------
The JVM performs more minor GCs (which was something to be expected,
since the new generation now has less heap space), but the total minor GC time has not
increased. Also, it performs much fewer major GCs, and while the time for each full GC
is a little longer than before (which was also expected, since the heap space allocated
to the old generation has increased), the overall time spent in major GCs is less.
For a more striking example of this phenomenon, see the example in my
"101" paper. Actually, in that example I avoid full GCs altogether!
You really should also total the amount of time spent in GC over the course of the run and
determine the percentage of time spent in GC. That is one of the data points I have in my
latest white paper that I am presenting at CMG in two weeks. I am also using R to analyze
the data, beats Excel!
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/572316#572316]
Start a new discussion in Performance Tuning at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]