[ 
https://issues.apache.org/jira/browse/JENA-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418495#comment-13418495
 ] 

Stephen Allen commented on JENA-279:
------------------------------------

Actually, I'm rather surprised to learn that an object cache exists at all in 
Node.  Creation of new Java objects nowadays is really cheap.  Maybe the 
NodeCache is left over from the early days of Jena before that was the case?

I will go ahead and remove the cache entirely.  Thanks for the report!
                
> 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
>            Assignee: Stephen Allen
>              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 an  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