1 Reply Latest reply: Jan 30, 2013 5:38 AM by 800381 RSS

    Huge Memory Leak - Need help.

    987983
      Hi,

      There is a huge memory leak in our application. Because of this there are frequent session timeout. When we analysed the heap dump using Memory Analyser Tool, we got the leak suspects and the problem suspects are as below:

      One instance of "org.apache.jasper.compiler.JspRuntimeContext" loaded by "org.apache.catalina.loader.StandardClassLoader @ 0x87ff8098" occupies 161,832,200 (23.30%) bytes. The memory is accumulated in one instance of "java.util.concurrent.ConcurrentHashMap$Segment[]" loaded by "<system class loader>".

      One instance of "org.apache.catalina.tribes.tipis.LazyReplicatedMap" loaded by "org.apache.catalina.loader.StandardClassLoader @ 0x87ff8098" occupies 133,578,920 (19.23%) bytes. The memory is accumulated in one instance of "java.util.concurrent.ConcurrentHashMap$Segment[]" loaded by "<system class loader>".

      185 instances of "org.apache.jasper.runtime.BodyContentImpl", loaded by "org.apache.catalina.loader.StandardClassLoader @ 0x87ff8098" occupy 133,502,776 (19.22%) bytes.

      What could be the root cause for this error and how to resolve this?
        • 1. Re: Huge Memory Leak - Need help.
          800381
          First, in general you not provided enough details to get any help. OS? OS version? Hardware specifics?

          Second, are you running custom code? If so, post it so you can get help.

          Third, if you're not running custom code, the odds of you having a "huge memory leak" are pretty small.