Julien Martin wrote: > Hello, > I get a permgen error. Can anyone tell me how to avoid this PermGen > space error?? > > > **************************************************************************************** > exception > > javax.servlet.ServletException: PermGen space > javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) > > org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) > > root cause > > javax.faces.FacesException: PermGen space > > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421) > > org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) > > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) > javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) > > org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) > **************************************************************************************** >
This PermGen space is used whenever new classes and JSPs are loaded (e.g. for each deploy) and cannot be recovered when the classes are unloaded. Thus during development you can often reach this without memory leaks or bugs. You can increase this by setting -XX:MaxPermSize=128m on the Java VM. -- Dave Brondsema Software Developer Cornerstone University
signature.asc
Description: OpenPGP digital signature