Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 28625 invoked from network); 22 Jan 2003 21:38:21 -0000 Received: from exchange.sun.com (192.18.33.10) by 208.185.179.12.available.above.net with SMTP; 22 Jan 2003 21:38:21 -0000 Received: (qmail 7710 invoked by uid 97); 22 Jan 2003 21:39:27 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 7680 invoked by uid 97); 22 Jan 2003 21:39:26 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 7668 invoked by uid 98); 22 Jan 2003 21:39:26 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <49720CF165E4E24AA9A18AAE559D4845114EAF@superman.sertancorp.net> From: Claudio Pracilio To: 'Tomcat Users List' Subject: RE: Tomcat Out of memory Date: Wed, 22 Jan 2003 13:30:29 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N Hi There, We have had problems with our JVM running out-of-memory on Linux with Suns JDK 1.3.1. This was resolved by not using the "-server" option. Not sure what the JVM does differently internally, but using the default -client option had resolved our problems. Regards, Claudio -----Original Message----- From: Nate [mailto:nmcminn@charter.net] Sent: Wednesday, January 22, 2003 1:09 PM To: Tomcat Users List Subject: Tomcat Out of memory We are running Tomcat 4.0.6 on Windows 2000 server using JDK 1.4.0_01. Tomcat is set to run as a service. In our catalina.bat file we have set: JAVA_OPTS= -server -Xms512m -Xmx512m If I am not mistaken, this should start the VM in server mode, and allocate 512MB of memory for it to use. Our application gets an out of memory error when the vm has used about 64MB of memory, well short of what we have told it to use. Am I setting the JVM parameters in the right place, or is my syntax perhaps incorrect? When tomcat is run as a service, is the catalina.bat startup script even called? --Nate -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: