2 Replies Latest reply on Jul 3, 2009 7:56 PM by Alex Cougarman

    PermGen error

    Alex Cougarman Apprentice

      We're getting this error when we redeploy a Seam application:

      2009-07-02 10:11:30,745 WARN [org.jboss.system.ServiceController] Problem starting service jboss.web.deployment:war=forms_new_employee.war,id=-1855897005
      java.lang.OutOfMemoryError: PermGen space
      ....
      2009-07-02 10:11:59,745 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space


      We've bumped up the memory and ran into the issue again and again; from what we've read, no matter how much memory you allocate to it, it's only a matter of time before the problem occurs between JBoss and the Sun JVM. Is the solution to switch to the JRockIt JVM?

      Here are two articles that suggest switching the JVM, among other solutions:

      http://www.jroller.com/agileanswers/entry/preventing_java_s_java_lang

      http://blog.yannis-lionis.gr/2007/06/01/javalangoutofmemoryerror-permgen-space-in-jboss/