7.9.2 Example of output of extended verbosegc information when full garbage collection occurs

This subsection explains the output of extended verbosegc information when full garbage collection occurs.

Organization of this subsection
(1) An example of output when the memory size being used in the New area (total of the Eden area and the Survivor area) exceeds the unused memory size for the maximum value of the Tenured area
(2) When an attempt to move objects from the New area (total of the Eden area and the Survivor area) to the Tenured area fails as a result of a copy garbage collection
(3) An example of output when the memory size to be allocated (size of the Java objects created by new) exceeds the unused memory size of the Tenured area
(4) An example of output when the unused memory size of the allocated Tenured area falls below 10,000 bytes as a result of the copy garbage collection
(5) An example of output when the allocated Tenured area is extended due to the transfer of objects to the Tenured area during copy garbage collection
(6) An example of output when the java.lang.System.gc() method is executed in an application
(7) An example of output when the memory size to be allocated to the Permanent area exceeds the unused memory size of the allocated Permanent area
(8) An example of output for the case when the javagc command is executed
(9) An example of output for the case when the jheapprof command is executed

(1) An example of output when the memory size being used in the New area (total of the Eden area and the Survivor area) exceeds the unused memory size for the maximum value of the Tenured area

An example of output of extended verbosegc information is shown below. The part in bold shows the factors responsible for occurrence of a full garbage collection.

...
[VGC]Wed May 11 23:12:05 2005[GC 27340K->27340K(32704K), 0.0432900​ secs][DefNew::Eden: 3440K->0K(3456K)][DefNew::Survivor: 58K->58K(64K)][Tenured: 23841K->27282K(29184K)][Perm: 1269K->1269K(4096K)][cause:ObjAllocFail][User: 0.0156250​ secs][Sys: 0.0312500​ secs]
[VGC]Wed May 11 23:12:05 2005[Full GC 30780K->30780K(32704K), 0.2070500​ secs][DefNew::Eden: 3440K->1602K(3456K)][DefNew::Survivor: 58K->0K(64K)][Tenured: 27282K->29178K(29184K)][Perm: 1269K->1269K(4096K)][cause:ObjAllocFail][User: 0.0156250​ secs][Sys: 0.0312500​ secs]
...

The following conclusions are drawn from this output example:

(2) When an attempt to move objects from the New area (total of the Eden area and the Survivor area) to the Tenured area fails as a result of a copy garbage collection

The following is an example of output of the extended verbosegc information. The part in bold shows the factors responsible for the occurrence of a full garbage collection.

...
[VGC]<Thu Oct 20 11:04:42 2011>[GC 26418K->26418K (29696K), 0.0000000​ secs][DefNew::Eden:8188K->8188K(8192K)][DefNew::Survivor: 1021K->1021K(1024K)][Tenured:17208K->17208K (20480K)][Perm: 2277K->2277K(12288K)][cause:ObjAllocFail][User: 0.0000000​ secs][Sys: 0.0000000​ secs][IM: 877K, 1104K, 0K][TC: 9][DOE: 0K, 0]
[VGC]<Thu Oct 20 11:04:42 2011>[Full GC 26418K->6450K(29696K), 0.0156250​ secs][DefNew::Eden:8188K->0K(8192K)][DefNew::Survivor:1021K->0K(1024K)][Tenured:17208K->6450K(20480K)][Perm: 2277K->2277K(12288K)][cause:PromotionFail][User: 0.0156250​ secs][Sys: 0.0000000​ secs][IM: 925K, 1104K, 0K][TC: 9][DOE: 0K, 0]

The following conclusion (1)is drawn from this example of output:

(3) An example of output when the memory size to be allocated (size of the Java objects created by new) exceeds the unused memory size of the Tenured area

An example of output of extended verbosegc information is shown below. The part in bold shows the factors responsible for occurrence of a full garbage collection.

...
[VGC]Wed May 11 23:53:18 2005[GC 28499K->28490K(32704K), 0.0540590​ secs][DefNew::Eden: 808K->0K(3456K)][DefNew::Survivor: 64K->62K(64K)][Tenured: 27626K->28428K(29184K)][Perm: 1269K->1269K(4096K)][cause:ObjAllocFail][User: 0.0156250​ secs][Sys: 0.0312500​ secs]
[VGC]Wed May 11 23:53:18 2005[Full GC 28490K->8959K(32704K), 0.1510380​ secs][DefNew::Eden: 0K->0K(3456K)][DefNew::Survivor: 62K->0K(64K)][Tenured: 28428K->8959K(29184K)][Perm: 1269K->1269K(4096K)][cause:ObjAllocFail][User: 0.0156250​ secs][Sys: 0.0312500​ secs]
...

The following conclusions are drawn from this example of output:

(4) An example of output when the unused memory size of the allocated Tenured area falls below 10,000 bytes as a result of the copy garbage collection

An example of output of extended verbosegc information is shown as follows. The part in bold shows the factors responsible for the occurrence of a full garbage collection.

...
[VGC]Fri-May-25-15-:-21-:-33-2007[GC 15436K->15416K(19840K), 0.0111825​ secs][DefNew::Eden: 4413K->0K(4416K)][DefNew::Survivor: 512K->509K(512K)][Tenured: 10511K->14906K(14912K)][Perm: 1976K->1976K(8192K)][cause:ObjAllocFail][User: 0.0000000​ secs][Sys: 0.0000000​ secs]
[VGC]Fri-May-25-15-:-21-:-33-2007 [Full GC 15416K->8622K(19840K), 0.0284614​ secs][DefNew::Eden: 0K->0K(4416K)][DefNew::Survivor: 509K->0K(512K)][Tenured: 14906K->8622K(14912K)][Perm: 1976K->1976K(8192K)][cause:ObjAllocFail][User: 0.0312500​ secs][Sys: 0.0000000​ secs]
...

The following conclusions are drawn from this example of output:

(5) An example of output when the allocated Tenured area is extended due to the transfer of objects to the Tenured area during copy garbage collection

An example of output of extended verbosegc information is shown as follows. The part in bold shows the factors responsible for occurrence of a full garbage collection.

...
[VGC]Fri-May-25-15-:-42-:-00-2007[GC 12745K->10151K(15872K), 0.0048346​ secs][DefNew::Eden: 4416K->0K(4416K)][DefNew::Survivor: 137K->512K(512K)][Tenured: 8192K->9639K(10944K)][Perm: 1976K->1976K(8192K)][cause:ObjAllocFail][User: 0.0156250​ secs][Sys: 0.0000000​ secs]
[VGC]Fri-May-25-15-:-42-:-00-2007[GC 14563K->14536K(19072K), 0.0104957​ secs][DefNew::Eden: 4412K->0K(4416K)][DefNew::Survivor: 512K->510K(512K)][Tenured: 9639K->14026K(14144K)][Perm: 1976K->1976K(8192K)][cause:ObjAllocFail][User: 0.0156250​ secs][Sys: 0.0000000​ secs]
[VGC]Fri-May-25-15-:-42-:-00-2007[Full GC 14536K->8610K(19072K), 0.0287254​ secs][DefNew::Eden: 0K->0K(4416K)][DefNew::Survivor: 510K->0K(512K)][Tenured: 14026K->8610K(14144K)][Perm: 1976K->1976K(8192K)][cause:ObjAllocFail][User: 0.0312500​ secs][Sys: 0.0000000​ secs]
...

The following conclusions are based on this example of output:

(6) An example of output when the java.lang.System.gc() method is executed in an application

An example of output of extended verbosegc information is shown below. The part in bold shows the factors responsible for occurrence of a full garbage collection.

...
[VGC]Mon Apr 18 20:36:29 2005[Full GC 330K->150K(3520K), 0.0387690​ secs][DefNew::Eden: 330K->0K(2048K)][DefNew::Survivor: 0K->0K(64K)][Tenured: 0K->150K(1408K)][Perm: 1266K->1266K(4096K)][cause:System.gc][User: 0.0156250​ secs][Sys: 0.0312500​ secs]
...

The following conclusion is drawn from this example of output:

(7) An example of output when the memory size to be allocated to the Permanent area exceeds the unused memory size of the allocated Permanent area

An example of output of extended verbosegc information is shown below. The part in bold shows the factors responsible for occurrence of a full garbage collection.

...
[VGC]Mon Apr 18 20:36:29 2005[Full GC 57051K->25121K(129792K), 0.5531230​ secs][DefNew::Eden: 40943K->0K(41088K)][DefNew::Survivor: 1280K->0K(1280K)][Tenured: 14827K->25121K(87424K)][Perm: 20479K->20479K(20480K)][cause:PermAllocFail][User: 0.0156250​ secs][Sys: 0.0312500​ secs]
...

The following conclusions are drawn from this example of output:

(8) An example of output for the case when the javagc command is executed

An example of output of the extended verbosegc information is shown below. The part in bold shows the factors responsible for occurrence of a full garbage collection.

...
[VGC]Mon Apr 18 21:46:50 2005[Full GC 369K->189K(3520K), 0.0403010​ secs][DefNew::Eden: 369K->0K(2048K)][DefNew::Survivor: 0K->0K(64K)][Tenured: 0K->189K(1408K)][Perm: 1266K->1266K(4096K)][cause:JavaGC Command][User: 0.0156250​ secs][Sys: 0.0312500​ secs]
...

The following conclusion is drawn from this example of output:

(9) An example of output for the case when the jheapprof command is executed

An example of output of extended verbosegc information is shown below. The part in bold shows the factors responsible for occurrence of a full garbage collection.

...
[VGC]Mon Apr 18 21:46:50 2005[Full GC 369K->189K(3520K), 0.0403010​ secs][DefNew::Eden: 369K->0K(2048K)][DefNew::Survivor: 0K->0K(64K)][Tenured: 0K->189K(1408K)][Perm: 1266K->1266K(4096K)][cause:JHeapProf Command][User: 0.0156250​ secs][Sys: 0.0312500​ secs]
...

The following conclusion is drawn from this example of output: