tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Guyatt" <pguy...@telesoft-technologies.com>
Subject RE: Tomcat 5 : java.lang.OutOfMemoryError
Date Tue, 20 Apr 2004 11:01:12 GMT
Hi There,

	Yep that exactly what I am saying ;-)

I had this problem with the stuff that I have done, a customer wanted to
display a file that happened to be 10 meg, so I to use the print stream in a
Servlet instead of using JSP pages.

Thanks

Pete

-----Original Message-----
From: Francesco Pellegrini [mailto:f.pellegrini@telematicaitalia.it]
Sent: 20 April 2004 11:31
To: Tomcat Users List
Subject: R: Tomcat 5 : java.lang.OutOfMemoryError


At the moment I use :

java class to execute query
JSP page  that shows the result of the query.

Your answer means i need to execute query and shows the result by SERVLET ?

Thans

Francesco.



-----Messaggio originale-----
Da: Peter Guyatt [mailto:pguyatt@telesoft-technologies.com]
Inviato: martedì 20 aprile 2004 12.19
A: Tomcat Users List
Oggetto: RE: Tomcat 5 : java.lang.OutOfMemoryError


Hi There,

	I have seen this before.

It is when your page is going to be over a certain size. (I believe its
around 4MB)

Just use a Servlet to display the result of the query

Thanks

Pete

-----Original Message-----
From: Francesco Pellegrini [mailto:f.pellegrini@telematicaitalia.it]
Sent: 20 April 2004 11:05
To: Tomcat-User-ML
Subject: Tomcat 5 : java.lang.OutOfMemoryError


Hi all,

I have Tomcat 5.0.18 with one java web application and database Access 2000.

When one Servlet/JSP try to make "heavy" query to database, tomcat shows
this error message :


HTTP Status 500 -

----------------------------------------------------------------------------
----

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

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:789)
	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.OutOfMemoryError

----------------------------------------------------------------------------
------------------------------

I've tried to modify the catilina.bat file, increased start memory  by set :

set CATALINA_OPTS=" -server -Xmx1200M -Xms1200M -Xss256k"

but i still having the same problem....

How can I solve it?


Thans in advance for your kind attention,


Francesco.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message