Profile Image
GCeasy User

How to use 'Reclaimed Bytes' graph in GCeasy report?

What does 'Reclaimed Bytes' mean? How to use the graph? Can you explain in detail?

Report URL - https://gceasy.io/my-gc-report.jsp?p=c2hhcmVkLzIwMjEvMDgvMTQvLS1nYy0xMC44MS42NC44Mi0yMDIxLTA3LTE2XzA2LTE1LTE2LmxvZy0tMS00NC0yMA==&channel=WEB

  • reclaimed-bytes

  • gcevent

  • fullgc

  • garbagecollectionlog

Please Sign In or to post your comment or answer

Profile Image

Prithi

Reclaimed bytes is the Number of Bytes removed from memory through GC. 

 

To service new incoming requests, your application creates a lot of new objects. Once a request has been serviced, newly created objects are of no use (they are called 'garbage'). A GC event removes this garbage from the heap.

 

Say suppose your heap size was 300mb. GC event ran, cleared garbage and got the heap size to 100mb. Then reclaimed bytes are 200mb (i.e. 300mb - 100mb) for this GC event. This is what we have plotted in this 'Reclaimed Bytes' graph. 

Steps to use a reclaimed bytes graph:

 

1. In the GCeasy report, You can see the reclaimed bytes graph in the Interactive Graphs section.

2. From the left side, select the reclaimed bytes button such that it will show the corresponding graph. X-axis indicates the time at which the GC event ran. Y-axis indicates the amount of bytes removed from memory by that GC event.

3. Click on legends in the graph to highlight and see the particular event as shown below.

4. If you want to see any one of the events (either young GC or Full GC) you can click either young GC or Full GC below the X axis. It will change as shown below.

5. You can zoom in to see a particular area of the graph. Here is the video that explains how to zoom gceasy graphs.

https://www.youtube.com/watch?v=JhZFj6gJQyk

Got something else on mind? Post Your Question

Not the answer you're looking for? Browse other questions tagged
  • reclaimed-bytes

  • gcevent

  • fullgc

  • garbagecollectionlog