I found the answer. In catilina.bat change set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% To: set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% -Xms2560M -Xmx2560M
Such a common operation should not be so obscure and difficult to figure out On Sun, Mar 31, 2013 at 11:38 AM, Mark Eggers <its_toas...@yahoo.com> wrote: > On 3/31/2013 10:20 AM, Kevin Jenkins wrote: > >> If I run tomcat7w.exe (windows) there is a tab where I can set the initial >> and maximum memory pool to 2560. However, I don't want to use >> tomcat7w.exe, >> I just want to run the batch file manually (startup.bat). However, I >> can't >> figure out how to set these memory pool values for startup.bat to use. >> >> I read somewhere to create C:\apache-tomcat-7.0.37\bin\**setenv.bat which >> contains >> SET JAVA_OPTS=-Xms2560 -Xmx2560 >> >> However, it doesn't work. If I run startup.bat, instead of launching the >> webserver it just prints some messages and that's it. No webserver is >> started. >> >> C:\apache-tomcat-7.0.37\bin>**startup.bat >> Using CATALINA_BASE: "C:\apache-tomcat-7.0.37" >> Using CATALINA_HOME: "C:\apache-tomcat-7.0.37" >> Using CATALINA_TMPDIR: "C:\apache-tomcat-7.0.37\temp" >> Using JRE_HOME: "C:\Program Files\Java\jdk1.6.0_43" >> Using CLASSPATH: >> "C:\apache-tomcat-7.0.37\bin\**bootstrap.jar;C:\apache-tomc >> at-7.0.37\bin\tomcat-juli.jar" >> C:\apache-tomcat-7.0.37\bin> >> >> > From the documentation: > > -Xmsn > Specify the initial size, in bytes, of the memory allocation pool. > This value must be a multiple of 1024 greater than 1MB > > -Xmxn > Specify the maximum size, in bytes, of the memory allocation > pool. This value must a multiple of 1024 greater than 2MB. > > So maybe you are trying to specify 2.5 GB, but you've really specified 2.5 > KB. This isn't going to work. > > Try the following in setenv.bat: > > set "CATALINA_OPTS=-Xms2560m -Xmx2560m" > > . . . . just my two cents. > /mde/ > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@tomcat.**apache.org<users-unsubscr...@tomcat.apache.org> > For additional commands, e-mail: users-h...@tomcat.apache.org > >