And just to let you know, should you ever need/want to run Tomcat as a service, it's a different story at that point. At least on Windows, those settings are stored in the registry. If you ever need to go down that road, I highly suggest a look at Tomcat Service Manager:
http://web.bvu.edu/staff/david/index.jsp?section=software&subsection=tcservcfg&page=overview Of course, if your not on Windows or not running as a service, you already have your answer :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 23, 2005 10:11 am, Dakota Jack said: > Thanks for the assistance. > > I finally figured this out, for future people trying to find the same > answer. The environmental variables at the top of catalina.bat can be > set there. So, I added: > > SET CATALINA_OPTS=-Xms512m -Xmx512m -Xrs > > after > > > rem > rem CATALINA_OPTS (Optional) Java runtime options used when the > "start", > rem "stop", or "run" command is executed. > rem > > in catalina.bat. > > > > On 5/23/05, Parsons Technical Services <[EMAIL PROTECTED]> > wrote: >> 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] >> >> > > > -- > "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]