Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 84863 invoked from network); 4 Sep 2009 19:00:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Sep 2009 19:00:40 -0000 Received: (qmail 8326 invoked by uid 500); 4 Sep 2009 19:00:40 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 8273 invoked by uid 500); 4 Sep 2009 19:00:40 -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 8263 invoked by uid 99); 4 Sep 2009 19:00:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 19:00:40 +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; Fri, 04 Sep 2009 19:00:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D4B77234C4D6 for ; Fri, 4 Sep 2009 11:59:20 -0700 (PDT) Message-ID: <1454425247.1252090760870.JavaMail.jira@brutus> Date: Fri, 4 Sep 2009 11:59:20 -0700 (PDT) From: "Rob Davies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-2166) MemoryLeak in the ResourceAdapter (ManagedConnectionProxy) In-Reply-To: <198544478.1237287459869.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Davies updated AMQ-2166: ---------------------------- Fix Version/s: 5.4.0 > MemoryLeak in the ResourceAdapter (ManagedConnectionProxy) > ---------------------------------------------------------- > > Key: AMQ-2166 > URL: https://issues.apache.org/activemq/browse/AMQ-2166 > Project: ActiveMQ > Issue Type: Bug > Components: JCA Container > Affects Versions: 4.1.0, 4.1.1, 4.1.2, 5.0.0, 5.1.0, 5.2.0 > Reporter: Mario Siegenthaler > Fix For: 5.4.0 > > Attachments: AMQ-2166.patch > > Original Estimate: 10 minutes > Remaining Estimate: 10 minutes > > The ActiveMQ JCA Resource Adapter leaks about 1Kb of memory when opening and closing sessions on the same connection. As soon as the connection is closed this memory is released, but it's a common use case to keep the connection for a very long time (ie aquire at startup and relase at shutdown). > The leak happens because the ManagedConnectionProxy holds a list of sessions that have been openend, but there's no code that removes a closed session from the list. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.