Start myeclipse and start Tomcat to ignore the problem of setting the memory size in Catalina. bat.
Set java_opts =-xms128m-xmx256m in Tomcat Catalina. BAT and start Tomcat directly using startup. bat. However, after Tomcat is configured in myeclipse, memory overflow occurs when started through myeclipse. The memory configured in Catalina. bat does not seem to work.
Solution: Enter the content in window-> preferences-> myecliipse-> application servers-> tomcat-> tomcat5.x-> JDK-> optional Java VM arguments.
-Xms128m-xmx256m
-DCOM. Sun. Management. jmxremote = true
The memory size depends on the actual situation.
Tomcat is divided into installation and compressed packages. Catalina is installed. the System Service set and used by Bat does not take effect, but is stored in the registry. The location is HKEY_LOCAL_MACHINE \ SOFTWARE \ Apache Software Foundation \ Tomcat Service Manager \ tomcat5 \ Parameters \ javaoptions.
Http://wm20000.spaces.live.com/blog/cns! 1c017dc99cce4395! 1738. Entry