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

Bruno P. Kinoshita commented on JENA-902:
-----------------------------------------

> Proposed is to lower the default settings

I will leave this one to the the others that will have a better background on 
this default value.

>  have a more exposed documentation as to tuning the memory settings of TDB.

We can probably add something in one of the [TDB 
page|http://jena.apache.org/documentation/tdb/index.html] sub pages. My 
suggestion is include somewhere in the [TDB configuration 
page|http://jena.apache.org/documentation/tdb/configuration.html]. What do you 
think? Would you be able to produce a patch, or maybe even some draft here? 


> Default cache sizes too large / configurability should be more exposed
> ----------------------------------------------------------------------
>
>                 Key: JENA-902
>                 URL: https://issues.apache.org/jira/browse/JENA-902
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: TDB
>    Affects Versions: TDB 1.1.0
>            Reporter: Jan De Beer
>
> In the class "com.hp.hpl.jena.tdb.sys.SystemTDB" there are two important 
> cache size settings, namely "Node2NodeIdCacheSize" and 
> "NodeId2NodeCacheSize". On a 64-bit platform, they default to 100000 and 
> 500000 entries.
> In our setup of 5 TDB-backed graphs inside a single dataset, these default 
> settings led to out-of-memory errors of the Fuseki server although setting 
> the available heap memory to 3GB. It took some heap analysis to reveal that 
> these two caches were the main memory consumers. Also, from the public 
> documentation of Fuseki / TDB, it wasn't so obvious that their sizes can be 
> configured. Only by looking into the source code, we found that one can use a 
> TDB properties file to override the defaults.
> Proposed is to lower the default settings and have a more exposed 
> documentation as to tuning the memory settings of TDB.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to