[ https://issues.apache.org/jira/browse/OAK-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16773959#comment-16773959 ]
Michael Dürig commented on OAK-8066: ------------------------------------ Filed OAK-8069 for adding logging to better understand the situation. > 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 > Priority: Major > Labels: TarMK > > {{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)