tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <>
Date Mon, 15 Nov 2004 19:05:08 GMT
> From: Wick, Daniel [] 
> 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:
For additional commands, e-mail:

View raw message