Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 53157 invoked from network); 17 Jan 2005 18:07:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Jan 2005 18:07:52 -0000 Received: (qmail 95204 invoked by uid 500); 17 Jan 2005 18:07:31 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 95184 invoked by uid 500); 17 Jan 2005 18:07:31 -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 95170 invoked by uid 99); 17 Jan 2005 18:07:31 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of Larry.Isaacs@sas.com designates 149.173.6.5 as permitted sender) Received: from merc95.na.sas.com (HELO merc95.na.sas.com) (149.173.6.5) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 17 Jan 2005 10:07:30 -0800 Received: from MERC28.na.sas.com ([10.16.9.98]) by merc95.na.sas.com with InterScan Messaging Security Suite; Mon, 17 Jan 2005 13:07:27 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Still having OutOfMemory Problems (Tomcat 4.1.31) Date: Mon, 17 Jan 2005 13:07:26 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Still having OutOfMemory Problems (Tomcat 4.1.31) thread-index: AcT8vTIFzwXQK38eRQypGQDfTghLwgAAdynA From: "Larry Isaacs" To: "Tomcat Users List" , X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David, "-D" defines System properties, "-X" defines vendor specific JVM = options. Thus, "-DXms128M" is incorrect. It should be just "-Xms128M". Same for the other "-DX" arguments. Cheers, Larry=20 > -----Original Message----- > From: David Johnson [mailto:chachany@gmail.com]=20 > Sent: Monday, January 17, 2005 12:52 PM > To: Tomcat Users List > Subject: Still having OutOfMemory Problems (Tomcat 4.1.31) >=20 > HI all. >=20 > Well I'm still getting my out of memory problem fairly consistently > (again) using Tomcat 4.1.31 with my Struts application. >=20 > When I look st the memory usage, it says tomcat is using about 110k of > memory for the VM, but that's just looking at the task manager. >=20 > Tomcat is installed as a service using a bat file (follows). Note the > -Xms128M and -Xmx512M options are set...if doesnt seem to matter what > I set these options to....even if I set them to 32m/64m! >=20 > How can I tell if tomcat is REALLY using those settings? It doesnt > seem to be!!!! >=20 > Thanks >=20 > ----- > install.bat: >=20 > @SET JAVA_HOME=3DC:\j2sdk_1_4_0_2 > @SET TOMCAT_HOME=3DC:\Tomcat4.1 > @SET TOMCAT_JVM=3D"%JAVA_HOME%\jre\bin\client\jvm.dll" > @SET=20 > TOMCAT_CLASSPATH=3D%TOMCAT_HOME%\bin\bootstrap.jar;%TOMCAT_HOME% > \common\lib\servlet.jar > @SET TOMCAT_ENDORSED=3D%TOMCAT_HOME%\common\endorsed > @SET TOMCAT_LOG=3D%TOMCAT_HOME%\logs\stdout.log > @SET TOMCAT_ERR_LOG=3D%TOMCAT_HOME%\logs\stderr.log >=20 > %TOMCAT_HOME%\bin\tomcat.exe -install "Apache Tomcat 4.1.31" > %TOMCAT_JVM% -Djava.class.path=3D%TOMCAT_CLASSPATH% -DXms128M = -DXmx512M=20 > -DXX:+PrintTenuringDistribution -DXX:+PrintGCDetails -Xverbosegc > -Djava.endorsed.dirs=3D%TOMCAT_ENDORSED% = -Dcatalina.home=3D%TOMCAT_HOME% > -start org.apache.catalina.startup.BootstrapService -params start > -stop org.apache.catalina.startup.BootstrapService -params stop -out > %TOMCAT_LOG% -err %TOMCAT_ERR_LOG% >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org