Memory leak in AbstractCapability.java prevents resources from being garbage 
collected
--------------------------------------------------------------------------------------

                 Key: MUSE-296
                 URL: https://issues.apache.org/jira/browse/MUSE-296
             Project: Muse
          Issue Type: Bug
          Components: Core Engine - Resource and Capability APIs
    Affects Versions: 2.2.0
            Reporter: Eitan Plotnik
            Assignee: Dan Jemiolo


Circular dependency in AbstractCapability.java prevents resources from being 
garbage collected.

AbstractCapability has a reference to Resource (_resource variable).
SimpleResource holds references back to capabilities from _capabilitiesByURI 
map.

Solution is to declare the _resource in AbstractCapability to be WeakReference.

Diff file attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to