I am getting java.lang.OutOfMemoryError: PermGen space
, upon analyzing the hprof
, I found that
One instance of "org.apache.jasper.compiler.JspRuntimeContext" loaded by "org.jboss.mx.loading.UnifiedClassLoader3 @ 0x772dd7f80"
occupies 8,30,89,712 (29.32%) bytes. The memory is accumulated in one instance of "java.util.concurrent.ConcurrentHashMap$Segment[]"
loaded by "<system class loader>"
Using Jboss server (4.2.3 GA)
Found one similar issue of memory leak at : [JBAS-4593] Leak in org/jboss/mx/loading/UnifiedClassLoader3 - JBoss Issue Tracker (But it is fixed in 4.2.2)
What is the cause/solution of this problem? Tell me if I should provide more information.