Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-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 2252BD4E8 for ; Tue, 19 Jun 2012 09:03:46 +0000 (UTC) Received: (qmail 68371 invoked by uid 500); 19 Jun 2012 09:03:46 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 68097 invoked by uid 500); 19 Jun 2012 09:03:45 -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 68054 invoked by uid 99); 19 Jun 2012 09:03:44 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2012 09:03:44 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id DF5CF14002F for ; Tue, 19 Jun 2012 09:03:43 +0000 (UTC) Date: Tue, 19 Jun 2012 09:03:42 +0000 (UTC) From: "Xander Uiterlinden (JIRA)" To: dev@felix.apache.org Message-ID: <1849404443.28954.1340096623916.JavaMail.jiratomcat@issues-vm> In-Reply-To: <475587678.28642.1340089002887.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Assigned] (FELIX-3564) Memory leak in Filterindex / ServiceRegistryCache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xander Uiterlinden reassigned FELIX-3564: ----------------------------------------- Assignee: Xander Uiterlinden > Memory leak in Filterindex / ServiceRegistryCache > ------------------------------------------------- > > Key: FELIX-3564 > URL: https://issues.apache.org/jira/browse/FELIX-3564 > Project: Felix > Issue Type: Bug > Components: Dependency Manager > Affects Versions: dependencymanager-3.0.0 > Environment: Linux Mint 12, x64, Dell E6520 > Reporter: Jan Hoeve > Assignee: Xander Uiterlinden > Labels: memory_leak > > The filter indexes in the ServiceRegistryCache caches ServiceListeners for a faster lookup. > However, once a ServiceListener is stored in the cache, it will never be released which will eventually lead to an OutOfMemoryError. > This is caused by the implementation of BundleContextIntercepter#removeServiceListener. > While debugging, it appears the cache has no filterindex for arguments null,null and thus leaving the listener in the cache. -- 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