tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop kumar V <anoopkum...@gmail.com>
Subject Re: How to increase the heap size & no of threads
Date Wed, 13 Jul 2005 15:15:05 GMT
You can use JAVA_OPTS in the catalina.bat file and specify the heap size as in:

set JAVA_OPTS=%JAVA_OPTS% -Xmn128m -Xmx512m

just make sure that the memory you specify for Xmx is lesser than the
ram that you have on the physical machine hosting tomcat or else the
swap memory will be used and you will experience a frustrating
slowness in everything you do on that machine.

HTH,
Anoop

On 7/13/05, Ayyanar Inbamohan <technical_emails@yahoo.com> wrote:
> 
> Hi all,
> 
>  CAn anyone help me ?
>  How to increase the number of threads that tomcat can
> process ?
> 
>  Also how to increase the size of the heap?
> 
> thanks in advance,
> Ayyanar.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


-- 
Thanks and best regards,
Anoop

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


Mime
View raw message