Running out of memory with heavy EJB3 use on JBoss EAP
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.StatelessContainertaking 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
