Hi,
It's valid.  Whether it's correct or not, only you can tell, and only
after extensive stress testing.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Reis, Tom [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 31, 2004 11:31 AM
>To: Tomcat Users List (E-mail)
>Subject: Heap size
>
>       Could someone tell me if this is correct for setting the heap
size.
>
>rem Execute Java with the applicable properties
>if not "%JPDA%" == "" goto doJpda
>if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity
>%_EXECJAVA% -Xms128m -Xmx256m %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS%
>-Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%"
>-Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%"
>-Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS%
%ACTION%
>goto end
>:doSecurity
>%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS%
>-Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%"
>-Djava.security.manager
-Djava.security.policy=="%SECURITY_POLICY_FILE%"
>-Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%"
>-Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS%
%ACTION%
>goto end
>:doJpda
>if not "%SECURITY_POLICY_FILE%" == "" goto doSecurityJpda
>%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xdebug
>-Xrunjdwp:transport=dt_shmem,address=%JPDA_ADDRESS%,server=y,suspend=n
>%DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath
>"%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%"
>-Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%"
>%MAINCLASS% %CMD_LINE_ARGS% %ACTION%
>goto end
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to