tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: [OT] tomcat.conf JAVA_OPTS
Date Wed, 05 Dec 2007 23:31:53 GMT
> 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


Mime
View raw message