From dev-return-32404-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Fri Aug 3 11:31:03 2012 Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F892D353 for ; Fri, 3 Aug 2012 11:31:03 +0000 (UTC) Received: (qmail 273 invoked by uid 500); 3 Aug 2012 11:31:03 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 165 invoked by uid 500); 3 Aug 2012 11:31:03 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 141 invoked by uid 99); 3 Aug 2012 11:31:02 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2012 11:31:02 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 9962C142851 for ; Fri, 3 Aug 2012 11:31:02 +0000 (UTC) Date: Fri, 3 Aug 2012 11:31:02 +0000 (UTC) From: "Sergey (JIRA)" To: dev@activemq.apache.org Message-ID: <122265858.9768.1343993462629.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (AMQ-3959) Memory leak caused by org.apache.activemq.util.StringArrayEditor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sergey created AMQ-3959: --------------------------- Summary: Memory leak caused by org.apache.activemq.util.StringArrayEditor Key: AMQ-3959 URL: https://issues.apache.org/jira/browse/AMQ-3959 Project: ActiveMQ Issue Type: Bug Components: JMS client Affects Versions: 5.6.0, 5.5.0 Environment: Ubuntu 12.04 x64 Oracle JDK 1.6.0_32 Tomcat 7.0.28 Reporter: Sergey Attachments: StringArrayEditor_memory_leak.png Create a web application which connects to an ActiveMQ standalone server, package activemq-core.jar into WAR under WEB-INF/lib. Deploy the WAR to a Tomcat 7. Then undeploy. In Tomcat manager press "Find leaks" button in "Diagnostics" section. Tomcat will complain that after undeployment some classes are still in memory. Use profiler to locate WebAppClassLoader, see the screenshot. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira