Thanks...

Could you see if what I had done in the code below is correct? It starts
normally the Tomcat, however, I'd like to know if it really allocates more
memory. How can I see this?

It related with your question about the -Xss4m, could you indicate me
another value that I can use for set java thread stack size?

rem Execute Java with the applicable properties
if not "%JPDA%" == "" goto doJpda
if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS%
%DEBUG_OPTS% -Xms16m -Xmx512m -Xss4m -Dfile.encoding=iso-8859-1 -Djava.endor
sed.dirs="%JAVA_ENDORSED_DIRS%" -classpath
"%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_H
OME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS%
%ACTION%
goto end
:doSecurity
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS%
%DEBUG_OPTS% -Xms16m -Xmx512m -Xss4m -Dfile.encoding=iso-8859-1 -Djava.endor
sed.dirs="%JAVA_ENDORSED_DIRS%" -classpath
"%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POL
ICY_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% -Xms16m -Xmx512m -Xss4m -Dfile.encoding=iso-8859-1 -Xdebug -
Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=
n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath
"%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_H
OME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS%
%ACTION%
goto end
:doSecurityJpda
%_EXECJAVA% %JAVA_OPTS%
%CATALINA_OPTS% -Xms16m -Xmx512m -Xss4m -Dfile.encoding=iso-8859-1 -Xrunjdwp
:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n
%DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath
"%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POL
ICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME
%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end

[]�s
Kleber

----- Original Message ----- 
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, October 09, 2003 3:13 PM
Subject: RE: allocate more memory



Howdy,
Modify JAVA_OPTS in $CATALINA_HOME/bin/catalina.sh.

As an aside, why -Xss4m???

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Kleber [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 09, 2003 2:12 PM
>To: [EMAIL PROTECTED]
>Subject: allocate more memory
>
>Hello,
>
>As I was using Orion server, I used to start it with some parameters to
>allocate more memory and to define the encoding, like this:
>
>\java\jdk1.3.1_01\jre\bin\java.exe -server -Xms16m -Xmx512m -Xss4m -jar
-
>Dfile.encoding=iso-8859-1 -Djdbc.connection.debug=true orion.jar
>
>How can I use it at Tomcat, too?
>Can I do it at startup.bat or at catalina.bat??
>And finally, how can I check this?
>
>Kleber



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