You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2014/01/29 12:18:09 UTC

[jira] [Resolved] (CLEREZZA-871) JenaGraphAdaptor should keep only weak references to newly created BNode

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

Reto Bachmann-Gmür resolved CLEREZZA-871.
-----------------------------------------

    Resolution: Fixed

Introduced a WeakBidiMap

> JenaGraphAdaptor should keep only weak references to newly created BNode
> ------------------------------------------------------------------------
>
>                 Key: CLEREZZA-871
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-871
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>
> When creating new BNodes JenaGraphAdapter is keeping the references in a BIdiMap. This currently prevents from being garabage collected as long as the MGraph is referenced, they should be eligible for garbage collection as soon as the BNode is no longer referenced. 
> This is likely to be the cause of the memory leak described here: http://mail-archives.apache.org/mod_mbox/clerezza-dev/201311.mbox/%3C52974275.5050401@xup.nl%3E



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)