1 Reply Latest reply on Sep 29, 2006 7:33 AM by Yogesh

    java.lang.OutOfMemoryError: PermGen space

    Yogesh Novice

      Hello,
      We are currently developing a small application with Hibernate, Seam and Facelets. We often get the "java.lang.OutOfMemoryError: PermGen space" error when hot deploying applications several times during development.

      I would like to know possible causes for this error and how to solve it.


      Load of thnx in advance,


      Cheers,

      Yogesh

        • 1. Re: java.lang.OutOfMemoryError: PermGen space
          Yogesh Novice

          Here is the stack trace for the above error:

          exception

          javax.servlet.ServletException: PermGen space
          org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:58)
          org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


          root cause

          javax.servlet.ServletException: PermGen space
          javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
          org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
          org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
          org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
          org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


          root cause

          java.lang.OutOfMemoryError: PermGen space