Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 4590 invoked from network); 3 Oct 2006 14:27:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2006 14:27:01 -0000 Received: (qmail 75986 invoked by uid 500); 3 Oct 2006 14:26:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 75966 invoked by uid 500); 3 Oct 2006 14:26:49 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 75954 invoked by uid 99); 3 Oct 2006 14:26:49 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Oct 2006 07:26:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [192.61.61.103] ([192.61.61.103:1582] helo=usea-naimss1.unisys.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 57/50-08153-32372254 for ; Tue, 03 Oct 2006 07:26:44 -0700 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.18]) by usea-naimss1 with InterScan Message Security Suite; Tue, 03 Oct 2006 09:26:40 -0500 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.53]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 3 Oct 2006 09:26:39 -0500 Received: from USRV-EXCH4.na.uis.unisys.com ([192.61.245.232]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 3 Oct 2006 09:26:39 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: tomcat memory usage questions Date: Tue, 3 Oct 2006 09:26:38 -0500 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: tomcat memory usage questions Thread-Index: Acbm9Gypz7AXkcW9Sq2axHGIhzJTbwAAQLmQ From: "Caldarale, Charles R" To: "Tomcat Users List" X-OriginalArrivalTime: 03 Oct 2006 14:26:39.0140 (UTC) FILETIME=[F0699640:01C6E6F7] X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > From: Robert Harper [mailto:robert@iat-cti.com]=20 > Subject: RE: tomcat memory usage questions >=20 > Care in development should be taken with respect to use of objects and > having circular references. You can cause memory leaks with circular > references because you might leave free and object from the servlet > but then have two objects referring to each other and the GC will not=20 > see them as having gone out of scope. Simply not true. Only reference counter collectors have issues with circular references, and no modern JVMs use that technique. A set of objects that are referenced only by themselves are not reachable from the roots and are easily collectable. Here's a decent reference for memory tuning: http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org