Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3564

Memory leak in Filterindex / ServiceRegistryCache

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: dependencymanager-3.0.0
    • Fix Version/s: None
    • Component/s: Dependency Manager
    • Labels:
    • Environment:
      Linux Mint 12, x64, Dell E6520

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              uiterlix Xander Uiterlinden
              Reporter:
              janhoeve Jan Hoeve
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: