Seam application retaining memory in StatefulSessionComponent

Solution Unverified - Updated -

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