Jan Hoeve created FELIX-3564:
--------------------------------

             Summary: 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


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

        

Reply via email to