Java garbage collection long pause times

Solution Verified - Updated -


  • Very long full garbage collections (GC).
  • Some Full GCs take more than 5 minutes.
  • Minor (young) GCs are taking over 30 seconds.
  • Thread dumps show threads in a state "BLOCKED (on object monitor)" in code that isn't even synchronized and shouldn't be blocking for any objects.


  • Java

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content