tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Morelock <subscripti...@phillipmorelock.com>
Subject Re: Tomcat 4.0.1 and memory usage
Date Thu, 06 Jun 2002 21:41:25 GMT
Just like you set CATALINA_HOME

set CATALINA_OPTS to the string you want to feed the vm.

so 

%CATALINA_OPTS%  should be
-Xmx### -Xms###

fillup


On 6/6/02 2:38 PM, "Tia Haenni" <java4freak@kc.rr.com> wrote:

> I have searched the archives for this topic, but I need more information
> to understand.  I need to limit the amount of memory used by Tomcat. I
> have Tomcat 4.0.1 running as an nt service on a Windows 2000 server box
> with redirects coming from IIS 5.0. I heard of using java -verbosegc to
> monitor gc, but as the service points at <tomcat_home>\bin\tomcat.exe, I
> don't know where this should be set. I understand the concept of setting
> for the JVM -Xmx###m and -Xms###m where ### is the amount of RAM to
> allocate for Tomcat, but again I do not know where this is set. Please
> help. TIA 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 


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


Mime
View raw message