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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2018/06/20 11:45:00 UTC
[jira] [Comment Edited] (OAK-7559) CacheActionDispatcher not memory
bound
[ https://issues.apache.org/jira/browse/OAK-7559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16518063#comment-16518063 ]
Marcel Reutegger edited comment on OAK-7559 at 6/20/18 11:44 AM:
-----------------------------------------------------------------
Proposed changes in https://github.com/apache/jackrabbit-oak/compare/trunk...mreutegg:OAK-7559
In addition to the limit on the number of elements in the queue, there is now also a default 32 MB limit on the memory.
[~tomek.rekawek], can you please review?
was (Author: mreutegg):
Proposed changes in https://github.com/apache/jackrabbit-oak/compare/trunk...mreutegg:OAK-7559
[~tomek.rekawek], can you please review?
> CacheActionDispatcher not memory bound
> --------------------------------------
>
> Key: OAK-7559
> URL: https://issues.apache.org/jira/browse/OAK-7559
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: documentmk
> Affects Versions: 1.2.18, 1.4, 1.6.0, 1.8.0
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Major
> Fix For: 1.10
>
>
> The persistent cache has an async write mode enabled by default and the write queue is maintained by the CacheActionDispatcher. The queue has a fixed size of 16'384 and is not memory bound. It may happen that the queue retains a lot of memory (multiple GB of heap) when the pending write actions reference big cache values and cause OOME.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)