[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - PermGen error

oneworld95 do-not-reply at jboss.com
Thu Jul 2 12:03:36 EDT 2009


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/

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241541#4241541

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241541



More information about the jboss-user mailing list