Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 76631 invoked from network); 28 Nov 2006 23:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2006 23:37:51 -0000 Received: (qmail 13374 invoked by uid 500); 28 Nov 2006 23:37:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 13358 invoked by uid 500); 28 Nov 2006 23:37:46 -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 13347 invoked by uid 99); 28 Nov 2006 23:37:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 15:37:46 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of remy.maucherat@gmail.com designates 64.233.184.239 as permitted sender) Received: from [64.233.184.239] (HELO wr-out-0506.google.com) (64.233.184.239) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 15:37:35 -0800 Received: by wr-out-0506.google.com with SMTP id i7so552830wra for ; Tue, 28 Nov 2006 15:37:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Gv6ggUZXWhHUYqu+WuHyG59bBeGDrp5Acc6d8Orf6QkA4b/36yuzmulEPmxrf25Mkdp+IT4Xn/GSZipXE9mZ2BFsGTZnk/ADkmVMXCOb9OJRN8ia8iJQyTes7lFxBv509UxIhJ8quR26eNWNYV8VXczJgRxi0uNvDy8lqc3AwEg= Received: by 10.90.115.4 with SMTP id n4mr1628663agc.1164757034195; Tue, 28 Nov 2006 15:37:14 -0800 (PST) Received: by 10.90.73.16 with HTTP; Tue, 28 Nov 2006 15:37:13 -0800 (PST) Message-ID: <6d959d480611281537w71215c7ate937621de1e8f81@mail.gmail.com> Date: Wed, 29 Nov 2006 00:37:13 +0100 From: "=?ISO-8859-1?Q?R=E9my_Maucherat?=" To: "Tomcat Users List" Subject: Re: Memory leaks on webapp redeploy In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org On 11/28/06, Mike Quilleash wrote: > As a brief aside I found the following code in the > WebAppClassLoader.releaseResources() of Tomcat 6, so it looks like some > of the well-known caches are being cleared out by Tomcat itself. Are you using 5.5 or 6.0 ? If you're using 5.5, then you should be looking at the 5.5 source. At the end of the clearReferences method in 5.5, the commons-logging reference to the classloader is cleared again (along with other leak friendly static fields) so no leak can occur because of usage of logging in this method. Investigation has shown there was no leaking related to logging (and actually no reference being kept anywhere). R=E9my --------------------------------------------------------------------- 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