tomcat-users mailing list archives

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

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message