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

Eitan Plotnik updated MUSE-296:
-------------------------------

    Attachment: diff.txt

> 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
>         Attachments: diff.txt
>
>
> 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