[
https://issues.apache.org/jira/browse/OAK-6523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra resolved OAK-6523.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.7.6
Done with 1804642
* Configures persistent cache with "size=4096,binary=0,-nodes,-children"
* Configure cache size to minimum(4GB, 1/2*heap memory). Default heap memory
[varies from setup to
setup|https://stackoverflow.com/questions/4667483/how-is-the-default-java-heap-size-determined]
* Configures the cache segment size to 1 for single threaded access
> Tune DocumentNodeStore setup for indexing flow for index command
> ----------------------------------------------------------------
>
> Key: OAK-6523
> URL: https://issues.apache.org/jira/browse/OAK-6523
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: run
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.8, 1.7.6
>
>
> Currently oak-run index command uses default DocumentNodeStore setup for all
> actions. It would be better if we can tune the DocumentNodeStore for specific
> actions.
> For e.g. for read only indexing phase we should configure
> # Persistent cache for previous documents and disable it for nodes and
> children
> {noformat}
> -Doak.documentMK.persCache="temp/cache,size=4096,binary=0,-nodes,-children"
> {noformat}
> # Configure cache size to some percentage of allocated heap. To start with
> say 50%
> Any such tuning should only be done if it is not done explicitly i.e. it
> should be possible to override such settings
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)