On Windows try the tomcat5w binary in the bin directory of tomcat.
Hope this helps.
Ken
----- Original Message -----
From: "Yun Yang" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, August 11, 2005 2:31 PM
Subject: Out of memory
Hello,
I am using Tomcat5.0.28. When I try to run my web application, I got
this message:
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.OutOfMemoryError
How can I solve this problem? I tried to uninstall tomcat5 as
service
using "service.bat remove" and tried to reinstall it as service in
Windows XP. How can I add option like "-xmx512M" into service.bat?
Or
How can I increase the heap size?
I added this statement into Catalina.bat "set JAVA_OPTS=-Xmx512m".
It
works. But When I run tomcat5.0 as server it still does not work.
Thanks,
Yun Yang
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]