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

Andy Seaborne edited comment on JENA-902 at 3/21/15 12:16 PM:
--------------------------------------------------------------

[~jdbeer] That's the "plan". It's just a small matter of finding the time.  
They work for me (and the system internally uses them exclusively) so any 
testing and feedback before they get frozen in documentation helpful.

Draft: http://jena.staging.apache.org/documentation/tdb/store-parameters.html

Caution: The text describes {{TDBFactory.setup(Location, StoreParams)}}.  This 
isn't in the 2.13.0 release. As a workaround, call 
{{StoreConnection.make(Location, StoreParams)}}.  {{TDBFactory.setup}} is 
making that call but exposes it in a public-facing class  place and doing some 
checking.


was (Author: andy.seaborne):
[~jdbeer] That's the "plan". It's just a small matter of finding the time.  
They work for me (and the system internally uses them exclusively) so any 
testing and feedback before they get frozen in documentation helpful.

Draft: http://jena.staging.apache.org/documentation/tdb/store-parameters.html

> 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