JBoss - Java heap retention in WrapperDataSourceService's resultSetMap

Solution Verified - Updated -

Issue

  • "java.lang.OutOfMemoryError: Java heap space" errors are received because the heap is consumed by many instances of org.jboss.resource.adapter.jdbc.WrappedResultSet
  • The WrappedResultSet objects are all being retained in org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService's resultsSetMap

Environment

  • JBoss Enterprise Application Platform (EAP)

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.