tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thilo Krawietz <thilo.krawi...@hrs.de>
Subject Re: How to increase memory
Date Thu, 01 Jul 2004 15:08:47 GMT
There is no possibility to increase memory quota for tomcat directly in 
tomcat's server settings.

But you can set explicitly the amount of memory the VM, which is 
instanciated when you startup tomcat
You do this in catalina.bat by adding two commandline options to 
%CATALINA_OPTS or %JAVA_OPTS

for instance:

set CATALINA_OPTS=%CATALINA_OPTS% -Xms1024m -Xmx2048m

This tells the virtual machine that it must allocate at least 1 Gigabyte 
and maximum 2 Gigabytes of memory for the VM instance started.

HTH,

Thilo

>where and how do I increase memory (win2003Srv) for tomcat (4.1.30)?
> 
> 
>
>  
>


---------------------------------------------------------------------
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