You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Francesco Pellegrini <f....@telematicaitalia.it> on 2005/03/08 17:38:49 UTC
Tomcat 5 java.lang.outOfMemory
Hi all,
I have an environment with Tomcat 5.0.19 and java 1.4.02, on windows 2000
server platform.
Tomcat 5 was installed with Services.
I have changed in catalina.bat :
set CATALINA_OPTS=" -server -Xmx1200m -Xms1200m -Xss256k"
Usually the sistem works fine, but when I try to find a lot of data (in
the database) using jsp, i got this error:
javax.servlet.ServletException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:867)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:800)
org.apache.jsp.pannelli.telematica.visconsumi_jsp._jspService(visconsumi_jsp
.java:810)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
java.lang.OutOfMemoryErrorHow can I solve this issue?Thanks in
advanceFrancesco.
Re: Tomcat 5 java.lang.outOfMemory
Posted by Christoph Kutzinski <ku...@gmx.de>.
Solution a: Increase the heap memory further
Solution b: Decrease the memory usage of your application
Francesco Pellegrini wrote:
>Hi all,
>
>I have an environment with Tomcat 5.0.19 and java 1.4.02, on windows 2000
>server platform.
>
>Tomcat 5 was installed with Services.
>
>I have changed in catalina.bat :
>
>set CATALINA_OPTS=" -server -Xmx1200m -Xms1200m -Xss256k"
>
>
>Usually the sistem works fine, but when I try to find a lot of data (in
>the database) using jsp, i got this error:
>
>
>javax.servlet.ServletException
>
>org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
>mpl.java:867)
>
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
>l.java:800)
>
>org.apache.jsp.pannelli.telematica.visconsumi_jsp._jspService(visconsumi_jsp
>.java:810)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
>11)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
>root cause
>
>java.lang.OutOfMemoryErrorHow can I solve this issue?Thanks in
>advanceFrancesco.
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org