> From: Mats Eklund [mailto:mats.ekl...@yahoo.com]
> Subject: Memory settings
> 
> I'm also interested to know whether and how memory available
> to the application can be configured.

Memory isn't configured for individual webapps, it's done for the whole JVM.  
The standard settings (-Xmx, -Xms, -XX:MaxPermSize, etc.) all work with Tomcat. 
 If you're running Tomcat as a service, use the Java tab of the tomcat5w.exe 
program to set the values.  If you're running it from the .bat scripts, create 
a setenv.bat script of your own and specify the heap settings in the 
environment variable CATALINA_OPTS; Tomcat will automatically call this script 
(if it exists) when it starts.

Also read the FAQ:
http://wiki.apache.org/tomcat/FAQ/Memory

(Just substitute CATALINA_OPTS for JAVA_OPTS in the FAQ text.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to