JAVA_OPTS and Xmx Xms
On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM JAVA_OPTS was set to -Xmx768m -Xms768m -server as an environment variable in Windows, (not set in a batch file to start tomcat). How can it be confirmed that the new JVM settings is configured and running correctly? Thanks, Joon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JAVA_OPTS and Xmx Xms
http://localhost:port/manager/status joon yoo wrote: On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM JAVA_OPTS was set to -Xmx768m -Xms768m -server as an environment variable in Windows, (not set in a batch file to start tomcat). How can it be confirmed that the new JVM settings is configured and running correctly? Thanks, Joon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dwayne A. Ghant Application Developer Temple University 215.204. [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JAVA_OPTS and Xmx Xms
In the batch file, echo %JAVA_OPTS% -Original Message- From: joon yoo [mailto:[EMAIL PROTECTED] Sent: January 4, 2005 4:19 PM To: tomcat-user@jakarta.apache.org Subject: JAVA_OPTS and Xmx Xms On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM JAVA_OPTS was set to -Xmx768m -Xms768m -server as an environment variable in Windows, (not set in a batch file to start tomcat). How can it be confirmed that the new JVM settings is configured and running correctly? Thanks, Joon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !DSPAM:41db086a194995855811664!
Re: JAVA_OPTS and Xmx Xms
Sorry I mispoke when I said it's not started in a batch file. What I meant was that tomcat is running as a service that comes in the tomcat installer app. Joon On Tue, 4 Jan 2005 16:36:59 -0500, Phillip Qin [EMAIL PROTECTED] wrote: In the batch file, echo %JAVA_OPTS% -Original Message- From: joon yoo [mailto:[EMAIL PROTECTED] Sent: January 4, 2005 4:19 PM To: tomcat-user@jakarta.apache.org Subject: JAVA_OPTS and Xmx Xms On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM JAVA_OPTS was set to -Xmx768m -Xms768m -server as an environment variable in Windows, (not set in a batch file to start tomcat). How can it be confirmed that the new JVM settings is configured and running correctly? Thanks, Joon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !DSPAM:41db086a194995855811664! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JAVA_OPTS and Xmx Xms
Are you running Tomcat as a Windows Service? On Tue, 2005-01-04 at 16:36, joon yoo wrote: it looks like it's still stuck on the 64MB default value: JVM Free memory: 4.58 MB Total memory: 14.01 MB Max memory: 63.56 MB `set` shows the system env. variables as: JAVA_HOME=D:\Sun\AppServer\jdk JAVA_OPTS=-Xmx768m -Xms768m -server Were quotes needed around the value for JAVA_OPTS? If configuring it as a system env. variable was incorrect then can this registry edit for tomcat4 work: http://www.pauaware.co.nz/tomcatntservice.htm Do all those values there need to be added or can the only desired values be added? Many thanks for any help, Joon On Tue, 04 Jan 2005 16:25:52 -0500, Ben Souther [EMAIL PROTECTED] wrote: Click on Server Status from the Tomcat Manger App. On Tue, 2005-01-04 at 16:19, joon yoo wrote: On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM JAVA_OPTS was set to -Xmx768m -Xms768m -server as an environment variable in Windows, (not set in a batch file to start tomcat). How can it be confirmed that the new JVM settings is configured and running correctly? Thanks, Joon - 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]
Re: JAVA_OPTS and Xmx Xms
Yes On Tue, 04 Jan 2005 16:40:33 -0500, Ben Souther [EMAIL PROTECTED] wrote: Are you running Tomcat as a Windows Service? \ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JAVA_OPTS and Xmx Xms
You can stick this code in somewhere: Runtime r = Runtime.getRuntime(); System.out.println(Free Memory: + r.freeMemory()); System.out.println(Total Memory: + r.totalMemory()); If your settings are taking effect you will see the results accordingly. On Jan 4, 2005, at 2:42 PM, joon yoo wrote: Yes On Tue, 04 Jan 2005 16:40:33 -0500, Ben Souther [EMAIL PROTECTED] wrote: Are you running Tomcat as a Windows Service? \ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Mufaddal Khumri