As an example I use: "-Xmx128m" to set the max at 128MB (i think the default is 64?)
Note I'm using this under linux so it's in a shell script.
In the Windows batch file, you'd just use:
set JAVA_OPTS=-Xmx128m
Which I would put after the line "rem ----- Execute The Requested Command" - but that's just me ;^)
You could also use the control panel to set a system-wide env. variable, but you don't need everybody to have it defined, plus it may mess you up when running java apps other than tomcat.
-Steve
Stephen Charles Huey wrote:
I see something in catalina.bat about a JAVA_OPTS environment variable. Do I need to set this in Windows? When I run java -X on the command
line, I see something about a -Xms option for setting the heap size. Do
I just type -Xms <some number> in the Windows environment variable or
what?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
