tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EP...@upstate.com
Subject RE: how-to specify Java runtime options -Xmx128m, w/ Tomcat 4 as Win2k service
Date Fri, 25 Jul 2003 10:00:40 GMT
 Would this tool help?  I also saw a wiki page for tomcat on setting memory
in the registry..

http://web.bvu.edu/staff/david/tcservcfg/


I guess my question is what it sthe right way to set options like this when
running as an Win2k service?
Eric Pugh

-----Original Message-----
From: Simon Pabst
To: Tomcat Users List
Sent: 7/24/03 4:59 PM
Subject: Re: how-to specify Java runtime options -Xmx128m, w/ Tomcat 4 as
Win2k service

The 128m won't get used/allocated on Tomcat/Java start already (AFAIK),
only when you do a lot of memory intensive things (you could use a 
webserver stress tool to increase the load on the server so memory
grows)

At 13:52 24.07.2003 -0400, you wrote:
>after assigning the following environment variables the java runtime 
>options as follows:
>
>eg: JAVA_OPTS=-Xmx128m -Xms128m
>
>tried with:
>CATALINA_OPTS
>JAVA_OPTS
>
>amount of RAM memory used stayed aprox the same.  Though i was
expecting 
>more memory to be used because of the extra memory that should have
been 
>allotted to java instance for Tomcat.  Consequently, i am assuming that

>options were not applied by simply setting these environment variables,
at 
>least when Tomcat is started as a service.
>
>Where and how are java runtime options to be specified with Tomcat 4.1 
>(JDK 1.4.2) when it is started as a win2k service?
>
>-paul@msci.ca


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message