felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Hoeve (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-3564) Memory leak in Filterindex / ServiceRegistryCache
Date Tue, 19 Jun 2012 06:56:42 GMT
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


View raw message