Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 65860 invoked from network); 11 Oct 2009 08:41:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Oct 2009 08:41:55 -0000 Received: (qmail 78806 invoked by uid 500); 11 Oct 2009 08:41:55 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 78723 invoked by uid 500); 11 Oct 2009 08:41:55 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 78713 invoked by uid 99); 11 Oct 2009 08:41:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 08:41:55 +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; Sun, 11 Oct 2009 08:41:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 468D0234C045 for ; Sun, 11 Oct 2009 01:41:31 -0700 (PDT) Message-ID: <124673521.1255250491273.JavaMail.jira@brutus> Date: Sun, 11 Oct 2009 01:41:31 -0700 (PDT) From: "Felix Meschberger (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-1503) Component Factory instances are not let gone after dispose In-Reply-To: <662182155.1250689094839.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764435#action_12764435 ] Felix Meschberger commented on FELIX-1503: ------------------------------------------ In Rev. 806511 added functionality for the components to inform their holders that they have been disposed off. > Component Factory instances are not let gone after dispose > ---------------------------------------------------------- > > Key: FELIX-1503 > URL: https://issues.apache.org/jira/browse/FELIX-1503 > Project: Felix > Issue Type: Bug > Components: Declarative Services (SCR) > Affects Versions: scr-1.0.6, scr-1.0.8 > Reporter: Felix Meschberger > Assignee: Felix Meschberger > Fix For: scr-1.2.0 > > > Component factory instances retrieved with ComponentFactory.newInstance(Dictionary) are not removed from the internal maintenance data structure. In the longer run, this prevents the components from being garbage collected and eat up all memory. > At one time we had a situation of 700'000 disposed ImmediateComponentManager instances kept in the ComponentFactory internal map.... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.