Running out of memory with heavy EJB3 use on JBoss EAP

Solution Verified - Updated -

Issue

  • Heap-based OutOfMemoryErrors (OOMEs) with heavy use of EJB3s due to EJB build up in ThreadLocalPools
  • High CPU utilization with heavy use of EJB3s
  • Heap dump shows org.jboss.ejb3.stateless.StatelessContainer taking up a significant percentage of the heap.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.2
    • 4.3
    • 5.x

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.