Seam application retaining memory in StatefulSessionComponent
Issue
java.lang.OutOfMemoryError: Java heap space- The heap dump shows retention in
StatefulSessionComponent. For example:
Problem suspect 1
One instance of "org.jboss.as.ejb3.component.stateful.StatefulSessionComponent" loaded by
"org.jboss.modules.ModuleClassLoader @ 0x98001818" occupies 398,137,272 (27.48%) bytes. The memory is accumulated
in one instance of "java.util.concurrent.ConcurrentHashMap$Segment[]" loaded by "<system class loader>".
Environment
- JBoss Enterprise Application Platform (EAP) 6
- JSF 1.2
- Seam 2.2.x
- Seam code does not use the 'AutoCreate` annotation.
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.
