When using the Java low pause Concurrent Mark Sweep (CMS) garbage collector "promotion failed" appears in GC logs

Solution Verified - Updated -

Issue

  • Long garbage collection (GC) pauses with the GC log showing many promotion failures.
  • The following entry is found in the GC logging:
    144501.626: [GC 144501.627: [ParNew (promotion failed): 680066K->680066K(707840K), 3.7067346 secs] 1971073K->1981370K(2018560K), 3.7084059 secs]
    

Environment

  • OpenJDK
  • Sun JDK

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.