For Tomcat 5.5 and later running as Windows service :
Go to the "Apache Tomcat x.x" folder in the
Start Menu. Start the "Configure Tomcat".
Or navigate to the bin directory Apache Tomcat
installation folder, find Tomcat(version number)w.exe and run it.
Select the "Java" tab in the configuration dialog.
- Server mode: this is determined by
the jvm.dll specified in the "Java Virtual Machine" text
box. (One should not specify the "-server" or
"-client" JVM option.)
The server .dll is usually placed under a "server" directory
in the JRE directory.
For example: "C:\Program
Files\Java\jdk1.5.0_07\jre\bin\server\jvm.dll".
The complete SDK should be downloaded for this from Sun, as the JRE
installers only contain the "client" directory.
- Maximum heap size:The "Maximum memory
pool" text box coresponds to the heap size limit.
(If using this text box it is not needed to specify "-Xmx"
Java option.)
- Advanced JRE options can be
specified in the "Java Options" text area. Append your other
Java options at the bottom of the option list. For example:
1.-Xms992M
2.-Xmx992M
3.-Xss1024K
4.-XX:MaxPermSize=256M
5.-XX:PermSize=256M
|
No comments:
Post a Comment