Profile Image
Paul Arbour

Why such long young GC?

I'm having some real troubles with long young GC events, you can see in this log there's an event that took 1 second, anything in our environment taking that long is causing timeouts.  

Any suggestions on what can cause long young GC events?

 

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

  • systemgc

  • longyounggc

  • gcevents

  • gcthroughput

Please Sign In or to post your comment or answer

Profile Image

Ram Lakshmanan

Hello Paul!

 

 Greetings.

 

 Your application has been running for 11 days.  In all these 11 days, your average GC pause time is only 86.3ms. Only one of the GC event took 1.10 seconds pause. Your application's GC Throughput is 99.722%. This an excellent throughput and avg pause time. There is always a risk when you try to tune such good performance, it has a possibility to worsen further.

 

 However I have one recommendation/suggestion. Your application is explicitly invoking System.gc(). Due to which 58 times GC pauses are triggerred. You may consider removing this API call. It has potential to remove these pauses.

 

  

Got something else on mind? Post Your Question

Not the answer you're looking for? Browse other questions tagged
  • systemgc

  • longyounggc

  • gcevents

  • gcthroughput