tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julio Cesar Leiva <>
Subject Re: Xmx and Xms size
Date Wed, 30 Jan 2008 19:30:07 GMT
Thanks all of you for your tips.
They have gave us a lot of indication how to tackle this..


Mark H. Wood wrote:

>What kind of processors specifically?  In a 32-bit address space,
>there's no point in giving Tomcat more than 2GB, because the JVM won't
>use it.  If you have 64-bit userspace and a JVM built for it then you
>can use more, but remember to leave a bit for OS caches, other
>processes, etc.  (Starve the block cache and your disk I/O throughput
>will suffer.)
>>From somewhere I recall a rule of thumb: if the box's primary duty is
>to run a single Java app., give that app. up to 75% of physical
>memory.  But that's a rule of thumb, and could be made nonsense by
>unusual hardware or an unusual app.  Any answer you get here should be
>taken as initial conditions for a tuning exercise: start there,
>measure performance and resource utilization, theorize, adjust, repeat
>until you get the performance you need or are convinced that you can't
>without changing something else (application design, bigger/faster
>hardware, network optimization, whatever).

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message