Back to back Full Garbage collections when conditions for Full GC do not seem met

Jon Masamitsu Jon.Masamitsu at Sun.COM
Wed Feb 13 14:19:24 UTC 2008

RESEND:  Sorry if this is a duplicate.  I got a warning that the 
original message could
not be sent.


Much of this information is in

In your logs

"def new generation"  implies the serial collector of the young generation

"tenured generation" implies  the serial collector of the tenured generation

"PSYoungGen" implies the parallel young generation collector for

"PSOldGen" implies the serial collector for the tenured generation
(basically the
same as "tenured generation"

UseParallelOldGC is not implemented in 1.4.2 so you won't see it.

Comments below.

Alex Aisinzon wrote:
> Jon
> The theory that the customer was using the client mode seems not to be
> true.
> We realize that some nodes were using client and some other were using
> server but that the excessive Full GC seems to happen also on the JVMs
> using the server mode.

It would be useful to know if the excessive full GC's are occuring with the
UseParallelGC collector ("PSYoungGen" and "PSOldGen" in the logs). 

I also think (as you have suggested) that the size
 of the young gen (500m) is too large for the
size of the tenured generation and the amount of live data
in the tenured generation (the amount of free space is
approaching the size of the young gen).  Do try a smaller
young gen or larger  overall heap.

It looks like only full collections are being attempted.  I don't
recall anything that would cause this type of behavior.
If you have a Sun support contract,  request some help on this.
The support organization is more familar with the current
behavior of  the earlier releases (i.e., what bugs have been fixed
and what enhancements have been made) and might be able to

> The point about the usage of different GC policies is interesting
> though:
> Could you share with me the GC log pattern to GC policy mapping?
> In other words, as you indicate in your blog
> (, there are 3 young generation
> collectors and 3 tenured generation ones.
> When I look at some GC logs, how can I deduce which you and tenured
> generation collectors are used?
> Thanks again for the tremendous help provided here.
> Regards
> Alex A
hotspot-gc-use mailing list
hotspot-gc-use at

More information about the hotspot-gc-dev mailing list