1 Reply Latest reply on Jun 14, 2017 4:58 AM by ptyagi_redhat.com

    PermGen Memory multiple war

    ldcd88

      Hello

       

      I have a Jboss 6.4 EAP with 10 differents war's, all with spring, when start throws a exception java.lang.OutOfMemoryError: PermGen space failure, i modified memory and start  ok, it's ok or i can do somethig more

        • 1. Re: PermGen Memory multiple war
          ptyagi_redhat.com

          There are many reasons that could cause OOM:permgen error; some of them are:

          - permgen settings are not being applied as expected

          - application requires more than defined permgen

          - classloader leak

          - frequent hot deployment or redployment.

           

          If increasing the permgen do not resolve oom:perm, then you can use jmap java utility to check what classe are consuming perm space:

          jmap -permstat $pid >& jmap.out