the best way to figure out how much heap to set is to stress test your
application.

1. figure out the average load
2. figure out the peak load
3. stress test the webapp with default settings
4. tweak the settings and retest
5. compare the results


there's no magic formula that works for all cases. only way to know
for sure and be able to state with confidence to those you report to
is to run stress tests.

peter


On Wed, 2 Feb 2005 12:53:48 -0500, Jiang, Peiyun
<[EMAIL PROTECTED]> wrote:
> I have two questions:
> 
> (1) How much memory to give to JVM to run tomcat? As mush as possible?
> (2) How to reasonably estimate the memory requirement for a web application
> running in tomcat?
> 
> Thanks.
> 
> Peiyun Jiang
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to