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

Laurent Pellegrino updated JENA-279:
------------------------------------

    Attachment: nodecache-279.patch

Please find enclosed a patch. I tested soft references by using and profiling 
the commented test TestNodeCache#testGarbageCollection().
                
> Make node cache configurable and use soft references
> ----------------------------------------------------
>
>                 Key: JENA-279
>                 URL: https://issues.apache.org/jira/browse/JENA-279
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Jena
>    Affects Versions: Jena 2.7.2
>            Reporter: Laurent Pellegrino
>              Labels: jena-core, node, node-cache
>         Attachments: nodecache-279.patch
>
>
> It would be nice to offer the possibility to configure the NodeCache capacity 
> and to use soft references in order to collect references when no more memory 
> is available. The Node cache should not be the cause of a  OutOfMemory error.

--
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

        

Reply via email to