tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Memory usage with multiple instances of tomcat
Date Mon, 06 Aug 2007 14:36:12 GMT
> From: Peter Sparkes [] 
> Subject: Re: Memory usage with multiple instances of tomcat
> The commands -Xms3g -Xmx3g will set the min/max heap to
> 3 GB, please how do I set the RAM for each instance of
> Tomcat5.5 to 2 GB

You can't set the amount of RAM for any process - the OS decides which
processes get how much RAM out of the total available.  Unfortunately,
Linux isn't particularly good at optimizing paging, so you're best to
keep the aggregate of virtual space allocations under the total RAM.
With three instances of Tomcat running, each with 3 GB heaps, you run
the risk of excessive paging if all the heaps get close to full at the
same time.  You might want to reduce the -Xms and -Xmx settings to
something like 2512m.

 - 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