Hello,

I'm trying to change the max memory (java heap -Xmx) using Tomcat's // US// switch. I type it according to the Windows service how-to. We would like to script this into our Tomcat deployment script which right now
simply installs the service using "service install".

With the service already installed I tried the following command line options:


tomcat7.exe //US//tomcat7 --JvmMs=512 --JvmMx=1024


tomcat7.exe //US//tomcat7 --JvmOptions -Xms512m -Xmx1024m

Although I get no error, I know its not taking because after starting tomcat.exe I look in the Windows process manager and it shows its only using 50MB of ram instead of 512MB of ram (the -Xms value)

Any help would be greatly appreciated.

Thanks
Pat





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to