tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: A couple of performance related questions
Date Mon, 05 Apr 2004 12:42:03 GMT

Hi,

>> 3) setting -Xmx ,-Xss. (what is the default? I noticed in the
>catalina.sh,
>> there is no -Xmx ,-Xss)

Be careful between -Xss and -Xms.  The former is the thread stack size,
the latter is the heap minimum size.  Very few people/cases should tweak
-Xss.  What you most likely meant is -Xms.

>If you are using catalina.sh then you set the enviroment settings by
>exporting a system variable in the shell.

You can, and are encouraged, to NOT set env variables in the shell and
instead put them in the script itself.  Always try to minimize
environment dependencies.

>Default is 64M.

Default for -Xmx, maximum heap size, for JDK 1.4.2 is 64MB.  Other non
-Xmx switches can affect this, such as -server (in server mode the
default is different on the various platforms).  In JDK 1.5, many of
these defaults have been moved to 128MB.

The default for -Xms for JDK 1.4.2 is 2MB on most platforms.  Again,
various non -Xms switches can affect this.

Yoav Shapira



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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message