-
Sub-task
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.1
-
None
-
Sun JDK / OpenJDK
JRockit
-
Not Required
-
NEW
If I redeploy an ear which has a JBoss bean in it after a few deployments JBoss runs out of heap.
It would appear the BaseClassloader still refers to the classes that are not longer required.
Heap dump analysis shows -
Problem Suspect 1
The classloader/component "org.jboss.classloader.spi.base.BaseClassLoader @ 0xd40c9758" occupies 333,122,512 (43.46%) bytes. The memory is accumulated in one instance of "java.util.concurrent.ConcurrentHashMap$Segment[]" loaded by "<system class loader>".
Keywords
java.util.concurrent.ConcurrentHashMap$Segment[]
org.jboss.classloader.spi.base.BaseClassLoader @ 0xd40c9758
Problem Suspect 2
One instance of "org.jboss.redeploy.calc.MyCache" loaded by "org.jboss.classloader.spi.base.BaseClassLoader @ 0xe7bf8f28" occupies 259,815,320 (33.90%) bytes. The memory is accumulated in one instance of "java.util.concurrent.ConcurrentHashMap$Segment[]" loaded by "<system class loader>".
Keywords
java.util.concurrent.ConcurrentHashMap$Segment[]
org.jboss.redeploy.calc.MyCache
org.jboss.classloader.spi.base.BaseClassLoader @ 0xe7bf8f28