The standard response to this type of question is are you closing your database connections, are you releasing references to objects being created. I can't imagine what you are doing that manages to wipe out 1200M memory ;) Oh and "use a profiler" comes up too for this type of question :)
-----Original Message----- From: Francesco Pellegrini [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software <a href="http://www.qas.com">www.qas.com</a> Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
