JBoss - Java heap retention in WrapperDataSourceService's 'connectionMap' HashMap

Solution Verified - Updated -

Issue

  • We received a "java.lang.OutOfMemoryError: Java heap space"
  • The heap is consumed in a RMI TCP Connection thread by org.jboss.resource.adapter.jdbc.local.LocalManagedConnection objects stored in the 'connectionMap' java.util.HashMap of a org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService

Environment

  • JBoss Enterprise Application Platform (EAP) 4.3.0_CP07 and earlier

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.