Java garbage collection long pause times

Solution Verified - Updated -

Issue

  • 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.

Environment

  • Java

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In