tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <Peter.Crowt...@melandra.com>
Subject RE: JAVA_OPTS
Date Mon, 15 Nov 2004 19:05:08 GMT
> From: Wick, Daniel [mailto:DPWick@Mail.Donaldson.com] 
> I understand why you would set a max amount of memory that 
> Java will use
> (-Xmx 512m), but why do you set a minimum (-Xms128m)? Doesn't 
> it just use what it needs until it hits the max?

So that you don't have it starting up small and then instantly having to
grab more RAM.  This way, an operating system can optimise the memory
allocation, potentially improving startup speeds and (later) reducing
pagefile fragmentation.

		- Peter

---------------------------------------------------------------------
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