OutOfMemoryError due to many instances of java.lang.ref.Finalizer after upgrading OpenJDK 1.6

Solution Unverified - Updated -

Issue

  • OpenJDK 1.6 problems after updating
  • OutOfMemoryError: Java heap space after upgrading OpenJDK 1.6 to version 1.6.0.0-3.1.13.1.el5_10.
  • Instances of java.lang.ref.Finalizer loaded by <system class loader> looking like the root cause of the OutOfMemoryError.
  • After upgrading OpenJDK 6 1.42.1.11.14 to version 3.1.13.1, JBoss starts to consume more memory up until a java.lang.OutOfMemoryError: Java heap space appears on the server log.
  • A JBoss application with AD backed LDAP authentication is periodically leaking file descriptors. This occurs when java-1.6.0-openjdk-1.6.0.0-3.1.13.1.el5_10 is installed. Downgrading to java-1.6.0-openjdk-1.6.0.0-1.40.1.11.11.el5_9 appears to fix the issue. Are there any known problem regarding that openjdk release? Note that the file descriptor leak results in an OOM exception once the file descriptor limit is reached.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.2.0
  • OpenJDK 1.6
    • java-1.6.0-openjdk-1.6.0.0-4.1.13.1.el5_10
    • 3.1.13.1
  • Red Hat Enterprise Linux (RHEL)
    • 5
    • 6

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.