Jack,

To use the batch files you need to set it as an Environment Variable. The catalina.bat file will the pick it up and add it to command line.

If you are wanting to do some quick testing, I think you MAY be able to include it on the command line with startup.bat. I don't run on Windows so I can't test it.

If you look in the catalina.bat you will see the comments at the top talking about the variables. If you look in startup.bat you will see where it picks up the command line variables.

The .sh files are the nix OS equivalent to the Windows .bat files.

Doug

----- Original Message ----- From: "Edao, Aliye" <[EMAIL PROTECTED]>
To: "Dakota Jack" <[EMAIL PROTECTED]>
Cc: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Monday, May 23, 2005 2:57 AM
Subject: AW: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?


Hi Jack,

The answer is CATALINA_HOME/bin/catalina.sh

CATALINA_OPTS="-Xmx512m -Xss1024k  -XX:+PrintGCDetails -server" ...


************************************
Mit freundlichem Gruß / kind regards

SBS ORS GD AHS OA42
Otto-Hahn-Ring 6
D - 81739 München
Tel. (089) 636-41024
Fax (089) 636-49347

Dr. Aliye Edao
mailto:[EMAIL PROTECTED]



-----Ursprüngliche Nachricht-----
Von: Dakota Jack [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 23. Mai 2005 08:48
An: Tomcat Users List
Betreff: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?


I am running out of memory when running some imaging ops with Tomcat
5.0.28 and need to set the java command with the attributes -Xms32m,
-Xmx256m, and -Xrs.  However, danged if I can figure out how to do
that.  I am using the simple startup.bat and shutdown.bat.  Where is
the place I plugin with those values?  Thanks?
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

---------------------------------------------------------------------
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]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to