[
https://issues.apache.org/jira/browse/OAK-7559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16518093#comment-16518093
]
Alex Deparvu commented on OAK-7559:
-----------------------------------
[~mreutegg] one thing jumped at me: {{return (int) Math.max(Integer.MAX_VALUE,
mem);}}, I think it should rather be {{min}}? [0], [1]
[0]
https://github.com/apache/jackrabbit-oak/compare/trunk...mreutegg:OAK-7559#diff-3376308863c34a885ab87b97a09fdd0dR60
[1]
https://github.com/apache/jackrabbit-oak/compare/trunk...mreutegg:OAK-7559#diff-046695e9a29bdc22aa07edec23e2b349R66
> 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)