tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Setting the Right Amount of Memory
Date Thu, 17 Jun 2010 12:20:45 GMT
On 17/06/2010 08:59, Robinson, Eric wrote:
>> If your heap size is right on the edge of your minimum for a Tomcat
>> instance, you may be doing more GC work than is really needed.  
>> However, if you're satisfied with the response time and 
>> CPU utilization, you should be ok. 
> 
> My thoughts exactly. Just wanted to check it with the community. FYI,
> with 160 instances of tomcat running at the same time, CPU is still 90%
> idle even during peak production hours. Now the software vendor is
> coming along and forcing us to set the heap for each instance to 512MB
> when 64MB or 96MB works fine. It's unnecessarily expensive and super
> frustrating.

Time to hit the vendor around the head with the cluebat. If the app is
happy with less heap space then increasing it is only going to cause
problems - mainly that GC when it happens will take longer and trigger
longer pauses. You can mitigate this with GC config (later VMs may make
the right choices for you anyway) but all this is just adding unecessary
complexity.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message