Michael Dürig created OAK-8066:
----------------------------------
Summary: Nodes with many direct children can lead to OOME when
saving
Key: OAK-8066
URL: https://issues.apache.org/jira/browse/OAK-8066
Project: Jackrabbit Oak
Issue Type: Improvement
Components: segment-tar
Reporter: Michael Dürig
Assignee: Michael Dürig
{{DefaultSegmentWriter}} keeps a map of [child
nodes|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/DefaultSegmentWriter.java#L805]
of a node being written. This can lead to high memory consumption in the case
where many child nodes are added at the same time. The latter could happen in
the case where a node needs to be rewritten because of an increase in the GC
generation from a concurrently completed revision garbage collection.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)