You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2017/02/28 20:01:45 UTC
[jira] [Resolved] (OAK-2989) Swap large commits to disk in order to
avoid OOME
[ https://issues.apache.org/jira/browse/OAK-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig resolved OAK-2989.
--------------------------------
Resolution: Incomplete
Might be caused by OAK-4949
> Swap large commits to disk in order to avoid OOME
> -------------------------------------------------
>
> Key: OAK-2989
> URL: https://issues.apache.org/jira/browse/OAK-2989
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 1.2.2
> Reporter: Timothee Maret
>
> As described in [0] large commits consume a fair amount of memory. With very large commits, this become problematic as commits may eat up 100GB or more and thus causing OOME and aborting the commit.
> Instead of keeping the whole commit in memory, the implementation may store parts of it on the disk once the heap memory consumption reaches a configurable threshold.
> This would allow to solve the issue and not simply mitigate it as in OAK-2968, OAK-2969.
> The behaviour may already be supported for some configurations of Oak. At least the setup Mongo + DocumentStore seemed not to support it.
> [0] http://permalink.gmane.org/gmane.comp.apache.jackrabbit.oak.devel/8196
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)