You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ayyanar Inbamohan <te...@yahoo.com> on 2005/07/13 07:28:37 UTC

How to increase the heap size & no of threads

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


Re: How to increase the heap size & no of threads

Posted by Anoop kumar V <an...@gmail.com>.
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 <te...@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