Sergei's suggestion works, and here are a few more details.
If you look in the installation bin directory, you will see a catalina.sh or .bat file. If you look at them, you will see that they run the setenv.sh or setenv.bat script respectively, if one exists, to set the environment variables. The corresponding environment variables are described in the comments on top of catalina.sh/bat. To use them, create, for example, the file $ CATALINA_HOME / bin / setenv.sh with the contents
export JAVA_OPTS="-server -Xmx512m"
For Windows, you'll need, in setenv.bat, something like
set JAVA_OPTS=-server -Xmx768m
Hope this helps, Glenn
Glenn Dec 03 '08 at 17:34 2008-12-03 17:34
source share