You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Xander Uiterlinden (JIRA)" <ji...@apache.org> on 2012/06/19 16:53:43 UTC

[jira] [Resolved] (FELIX-3564) Memory leak in Filterindex / ServiceRegistryCache

     [ https://issues.apache.org/jira/browse/FELIX-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xander Uiterlinden resolved FELIX-3564.
---------------------------------------

    Resolution: Fixed

See comment.
                
> 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