Skip to content

Heap line goes down at the beginning of GCs #95

Closed
@blacelle

Description

@blacelle

Hello, I just start using GCViewer, and I'm not sure to understand the Heap line on GC occurence.

  • Used Heap:
    o Blue line that shows used heap size
  • GC Times Rectangles:
    o Dark grey rectangle at every Full GC
    o Light grey rectangle at every Incremental GC
    o Grey rectangle at every 'normal' GC

Given this spec, I would expect the Heap line to go break down when the GC completed. As of now, it breaks down when the GC starts. The direct effect is I don't see my application generates memory at a fast rate, since the Heap line ramp-up from the start of current GC to the start of next GC (while it actually ramps up from the end of current GC to the start of next GC).

Maybe this is due to the fact the GC are considered Incremental GC instead of Full-GC, and GCviewer considers data could be generated during the GC. In which case, the issue is rather a mis-interpretation of the following lines:
2014-04-07T16:30:39.333+0200: 7697.688: [GC 319512145K->221329036K(354522304K), 13.0523460 secs]
2014-04-07T16:31:10.359+0200: 7728.714: [GC 325257100K->222378851K(357732160K), 201.8840210 secs]
2014-04-07T16:35:00.670+0200: 7959.025: [GC 325929865K->223445781K(357492672K), 69.9374930 secs]
2014-04-07T16:36:40.672+0200: 8059.027: [GC 327001237K->225038174K(358217408K), 24.1651550 secs]

I read a Full GC line should be prefixed by "[Full GC" instead of "[GC". However, I'm pretty confident the app was doing Full-GCs as it was not responding anymore.

But anyway, I changed the fill to simulate all GC to be FullGC, and the Heap line still breaks down at the beginning of the GC.

The apps runs over a JDK6.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions