You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Caldarale, Charles R" <Ch...@unisys.com> on 2007/12/06 00:31:53 UTC

RE: [OT] tomcat.conf JAVA_OPTS

> From: RuiXian BAO [mailto:ruixian.bao@gmail.com] 
> Subject: Re: tomcat.conf JAVA_OPTS
> 
> If so, why the -Xms and -Xmx were invented in the first place?

These date from the first JVMs (more than 10 years ago), when memory was
expensive, and garbage collection pause time was a function of the size
of the heap, rather than the number of live objects.  In those days, it
made sense to try to have your application run with as small a memory
footprint as possible.  There are still some systems where memory is
quite limited (e.g., cell phones), but with real servers, it's more
efficient to set them to the same value.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] tomcat.conf JAVA_OPTS

Posted by RuiXian BAO <ru...@gmail.com>.
Hello Chuck,

On 12/6/07, Caldarale, Charles R <Ch...@unisys.com> wrote:
>
>
> These date from the first JVMs (more than 10 years ago), when memory was
> expensive, and garbage collection pause time was a function of the size
> of the heap, rather than the number of live objects.  In those days, it
> made sense to try to have your application run with as small a memory
> footprint as possible.  There are still some systems where memory is
> quite limited (e.g., cell phones), but with real servers, it's more
> efficient to set them to the same value.


Thank you for your explanation.

Best

- RuiXian


- Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>