Thanks! I give that a whirl. Has anyone experienced any memory leaks with Tomcat 5? One of my sites was written by an outside vendor and it acts like it has a memory leak and I'm not sure if it is the programming or the container.
-----Original Message----- From: Daniel J. Obregon [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 9:11 AM To: Tomcat Users List Subject: Re: How to set JVM Max Memory Add one or both of the following to your start up scripts as java command line options: -mx1024M (or -Xmx1024M) to set the max to 1024 Mb -ms256M (or -Xms256M) to set the min to 256 Mb in my startup script I use this line: setenv JAVA_OPTS "-ms256M -mx1024M -Djava.awt.headless=true" - Dan Obregon - > I have several sites running on Tomcat 5.0.19 and I only have one > problem. A couple of the sites keep running out of memory during peak > traffic times. It looks like the Tomcat server JVM is set to a default > of 128M and I would like to increase that. My box has plenty of memory > available and I would like to use it. > > > > How do I set the JVM Max Memory? > > > > Thanks, > > Ben > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
