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, 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