> From: Peter Sparkes [mailto:[EMAIL PROTECTED] > 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 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]