> From: RuiXian BAO [mailto:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]