7
回答
javax.servlet.ServletException: java.lang.OutOfMem

个位江湖救急的

我开发测试的时候是用的TOMCAT,正式运行是jetty6.我在tomcat中测试的没有问题了.I3.RaexI3Three_jsp这个也不会报错,但是需要点时间才能刷出内容来,,这个页面上的数据确实是比其他的多,整个的页面刷出来在页面上查看源代码有3万多行, 但是一放到JETTY中就出现了下面的异常信息,你们都是我的神救救我吧~!~!~!~!~!~!~!~!~!~!就 是 这个OutOfMemoryError,,晕搞死我了、

javax.servlet.ServletException: java.lang.OutOfMemoryError: Java heap space


 at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:922)
 at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:855)
 at org.apache.jsp.jsp.I3.RaexI3Three_jsp._jspService(org.apache.jsp.jsp.I3.RaexI3Three_jsp:4412)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
 at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
 at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
 at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:285)
 at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
 at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
 at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
 at com.cmsz.raex.action.ExceptionDealFilter.doFilter(ExceptionDealFilter.java:47)
 at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
 at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
 at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
 at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
 at org.mortbay.jetty.Server.handle(Server.java:324)
 at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
 at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
 at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
 at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)


Caused by: java.lang.OutOfMemoryError: Java heap space


 at org.apache.jasper.runtime.BodyContentImpl.reAllocBuff(BodyContentImpl.java:626)
 at org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:165)
 at org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:180)
 at org.apache.jasper.runtime.BodyContentImpl.print(BodyContentImpl.java:340)
 at org.apache.struts.taglib.TagUtils.writePrevious(TagUtils.java:1260)
 at org.apache.struts.taglib.logic.IterateTag.doAfterBody(IterateTag.java:346)
 at org.apache.jsp.jsp.I3.RaexI3Three_jsp._jspService(org.apache.jsp.jsp.I3.RaexI3Three_jsp:2507)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
 at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
 at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
 at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:285)
 at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
 at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
 at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
 at com.cmsz.raex.action.ExceptionDealFilter.doFilter(ExceptionDealFilter.java:47)
 at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)

举报
顶部