Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 9938 invoked from network); 4 Sep 2003 12:53:21 -0000 Received: from unknown (HELO warhawk.mpi.com) (63.244.250.133) by daedalus.apache.org with SMTP; 4 Sep 2003 12:53:21 -0000 Received: from lightning.mpi.com (lightning.mpi.com [63.244.252.11]) by warhawk.mpi.com (Switch-2.2.6/Switch-2.2.6) with ESMTP id h84Cpod20566 for ; Thu, 4 Sep 2003 08:51:50 -0400 (EDT) Received: from US-VS1.corp.mpi.com (us-be2.corp.mpi.com [63.244.252.32]) by lightning.mpi.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h84Cqtov020977 for ; Thu, 4 Sep 2003 08:53:03 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.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: Memory leaks? Date: Thu, 4 Sep 2003 08:52:41 -0400 Message-ID: <9C5166762F311146951505C6790A9CF8A6EB26@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Memory leaks? Thread-Index: AcNyRjC/Ix8oslOuTjCyNw5po/GCsQAYs66wAA6JrKA= From: "Shapira, Yoav" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Howdy, I completely agree with Senor Einfeldt's comments, having found exactl= y the same results in my experience with -server. Waiting for Tiger's -server fixes. To the original poster: any objects with dangling references may not b= e recycled when your app is restarted. These can have bad consequences,= such as excessive memory use or stale data, or even tomcat-killing errors such as the dreaded CL: Lifecycle Stopped one ;) You should very carefully inspect your app to close all resources that= you can: basically, if it has a public close()/shutdown()/terminate()/whatever function, use it ;) This applies to DB objects, such as the connection/statement/result set/connection pool, but also to others like JMS connections/sessions,= mail sessions, transactions, etc. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Ralph Einfeldt [mailto:ralph.einfeldt@uptime-isc.de] >Sent: Thursday, September 04, 2003 2:00 AM >To: Tomcat Users List >Subject: RE: Memory leaks? > >In my experience this is not a good recommendation: > >- -server is less stable than -client in all JDK's that I tried, > and this has been confirmed by several list members. > >- -server won't help much on out of memory errors. The gc is > behaving differently, but it can't free more objects, they > are just freed at different times. If you get a out of memory > error, there rn't any object that can be freed. > >> -----Original Message----- >> From: Richard Hill [mailto:RHill@classmates.com] >> Sent: Wednesday, September 03, 2003 7:40 PM >> To: 'Tomcat Users List' >> Subject: RE: Memory leaks? >> >> >> Try passing the jvm the -server option >> >> -----Original Message----- >> From: Jim Lynch [mailto:jwl@sgi.com] >> Sent: Wednesday, September 03, 2003 9:57 AM >> To: tomcat >> Subject: Memory leaks? >> >> I seemed to have read that java/tomcat isn't supposed to have memor= y >> leaks, but something seems to be running me out of memory and I don= 't >> know what. >> > >---------------------------------------------------------------------= >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you.