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

Chetan Mehrotra commented on OAK-2163:
--------------------------------------

bq. Now a system property "tar.memoryMapped" is supported. If set, then memory 
mapped files are used if possible

It might be preferable if memory mapped files are used by default (on similar 
lines as used in {{SegmentNodeStoreService}} [1] i.e. depending on the system 
arch). If required user can force use of a particular mode by explicitly 
specifying the mode via system property

[1] 
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStoreService.java#L151

> Oak-run "checkpoint" and "backup" don't use memory mapped files
> ---------------------------------------------------------------
>
>                 Key: OAK-2163
>                 URL: https://issues.apache.org/jira/browse/OAK-2163
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segmentmk
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.0.7, 1.1.1
>
>
> Oak-run, with the tar storage, explicitly disables using memory mapped files 
> ("new FileStore(,, false)". It looks like this can result in out of memory.



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

Reply via email to