1 Reply Latest reply on Feb 2, 2006 8:18 AM by hohohoho

    OutOfMemory exception after multiple re-deployments

    gzbigegg2005

      hi,

      I experienced OutOfMemoryException: PermGen size exception when I re-deploy my portlets several times. I did some research on JBoss JIRA, there is a link on this: http://jira.jboss.com/jira/browse/JBAS-1319. However, the JIRA status is closed.

      Does anyone else see some similar error?

      Thanks,
      Liu Yan

        • 1. Re: OutOfMemory exception after multiple re-deployments
          hohohoho

          Yes, intense redeployment causes this problem to occur. I have experienced it on other AppServers too. I don't know the acutal JVM memory technicalities causing it. But it can be handled by increasing the Permanent Generation memory in the jvm.

          ie set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx768m -XX:MaxPermSize=128m

          / Jakob