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>