Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11ABFDB5D for ; Tue, 6 Nov 2012 19:59:50 +0000 (UTC) Received: (qmail 60767 invoked by uid 500); 6 Nov 2012 19:59:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 60537 invoked by uid 500); 6 Nov 2012 19:59: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 60528 invoked by uid 99); 6 Nov 2012 19:59:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 19:59:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of knst.kolinko@gmail.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-vc0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 19:59:41 +0000 Received: by mail-vc0-f173.google.com with SMTP id fl15so1069317vcb.18 for ; Tue, 06 Nov 2012 11:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Vrbn8aApySAO/9mPDK5FLmViV2GM+MY49DoilZQ+Xmo=; b=0zosfAQaQqW4NDrEYM5/DAu7ReccfRaDtSaDrsv19JtC7YinoCd0fKln5NP3lM2qgl qk9+5KQolJ7/SfyLsl4zSAwriIIaJhNRsEsZcPPQIHqRtE7dxl0mUeOjoaqPL6C3WRPp YzTW9kighX5OtuixwVaE7V+n+awHBebR+wJ+OpAj9W9JB0fV44dIy/J/n9UarTNi2Izj eVIGxuIQeIHXcjt3QJnit6ZrBUtHgbgsNpV/jwGVovz017IyAeCJ1QfmPvBMJ3YguEnz Z2bfbNjIeAV0c9U1tjuu4WLnP/iZdkYEcJf+QtnDb/FjldZXjUE/Ij7D5e9xCk0x004F lvNg== MIME-Version: 1.0 Received: by 10.52.16.110 with SMTP id f14mr1774538vdd.8.1352231960527; Tue, 06 Nov 2012 11:59:20 -0800 (PST) Received: by 10.58.249.199 with HTTP; Tue, 6 Nov 2012 11:59:20 -0800 (PST) In-Reply-To: <5099653B.5040501@christopherschultz.net> References: <50981D76.7040505@christopherschultz.net> <5099653B.5040501@christopherschultz.net> Date: Tue, 6 Nov 2012 23:59:20 +0400 Message-ID: Subject: Re: WebappClassLoader weak/soft reachable From: Konstantin Kolinko To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 2012/11/6 Christopher Schultz : > On 11/6/12 10:37 AM, Konstantin Kolinko wrote: >> 2012/11/6 Christopher Schultz : > >> 2) I know of a bug in JVM when a certain kind of leak goes >> undetected. I mean the leak through a shared Exception instance >> and its native stacktrace. See >> >> https://issues.apache.org/bugzilla/show_bug.cgi?id=50460 >> https://issues.apache.org/bugzilla/show_bug.cgi?id=53936 (Linked >> from https://wiki.apache.org/tomcat/MemoryLeakProtection) > > I don't create any of my own Exception objects that get shared. Could > this be something introduced by Tomcat itself, or more likely some > dependent library of mine? > > Since I can't readily trace the WebappClassLoader to its GC roots, do > you have any suggestions for identifying the specific cause in my case? > IIRC, I found that issue by looking for Exception objects that were present in the memory. I was using Eclipse MAT. IIRC I filtered the living objects by their class name. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org