Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 78963 invoked from network); 4 Feb 2010 20:51:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 20:51:58 -0000 Received: (qmail 10122 invoked by uid 500); 4 Feb 2010 20:51:58 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 10038 invoked by uid 500); 4 Feb 2010 20:51:58 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 10028 invoked by uid 99); 4 Feb 2010 20:51:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 20:51:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 20:51:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 52D5329A001B for ; Thu, 4 Feb 2010 12:51:29 -0800 (PST) Message-ID: <241875025.49031265316689338.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Feb 2010 20:51:29 +0000 (UTC) From: "Mark Thomas (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (LANG-586) Use of ThreadLocal in ToStringStyle.java triggers memory leak in container environment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Use of ThreadLocal in ToStringStyle.java triggers memory leak in container environment -------------------------------------------------------------------------------------- Key: LANG-586 URL: https://issues.apache.org/jira/browse/LANG-586 Project: Commons Lang Issue Type: Bug Components: lang.builder.* Reporter: Mark Thomas The thread local in org.apache.commons.lang3.builder.ToStringStyle is created but never removed and no API is provided to remove it. If a webapp's use of LANG triggers the loading of this class, a reference chain will be created that will cause a memory leak on web application reload. See http://markmail.org/thread/uetw2fdrsqgbh2cv for more info. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.