RE: How to set JVM Max Memory

2004-07-16 Thread Hofmann, Benjamin
PROTECTED] Sent: Friday, July 16, 2004 9:33 AM To: Tomcat Users List Subject: Re: How to set JVM Max Memory On Fri, Jul 16, 2004 at 09:22:29AM -0500, Hofmann, Benjamin wrote: : Has anyone experienced any memory leaks with Tomcat 5? One of my sites : was written by an outside vendor and it acts lik

Re: How to set JVM Max Memory

2004-07-16 Thread QM
On Fri, Jul 16, 2004 at 09:22:29AM -0500, Hofmann, Benjamin wrote: : 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. A profiler would tell

RE: How to set JVM Max Memory

2004-07-16 Thread Hofmann, Benjamin
ailto:[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 t

Re: How to set JVM Max Memory

2004-07-16 Thread Daniel J. Obregon
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 Obr

How to set JVM Max Memory

2004-07-16 Thread Hofmann, Benjamin
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 wo