6 Replies Latest reply on Jun 6, 2008 1:22 PM by Peter Johnson

    java.lang.OutOfMemoryError: Java heap space

    leandro godoy Apprentice

      Hello, I was using redHatDeveloper Studio and using the embedded server to develop but now I just download the jboss 4.2 and installed in another machine, can access the application, but at some point me in this heap of error:

      How can I solve this?

      
      
      javax.servlet.ServletException: java.lang.OutOfMemoryError: Java heap space
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
       com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
       com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
       org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
       org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
       com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
       com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
       org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
       org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
       org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
       org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
       com.Lgweb.Tcc.Util.SecuritFilter.doFilter(SecuritFilter.java:38)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      java.lang.OutOfMemoryError: Java heap space
      
      
      


      thanks :)