jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-7559) CacheActionDispatcher not memory bound
Date Wed, 20 Jun 2018 11:45:00 GMT

    [ 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)

Mime
View raw message