[ 
https://issues.apache.org/jira/browse/OAK-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14178383#comment-14178383
 ] 

Michael Dürig edited comment on OAK-2218 at 10/22/14 6:59 AM:
--------------------------------------------------------------

Another patch, which doesn't require casting to SegmentNodeBuilder. Arguably 
the cast would have never failed. But I prefer the somewhat more explicit code 
in this patch to avoid the cast. 


was (Author: mduerig):
Another patch, which doesn't require casting to SegmentNodeBuilder. Arguably 
the case would have never failed. But I prefer the somewhat more explicit code 
in this patch to avoid the cast. 

> Allow SegmentNodeBuilder to provide child builders of the same type
> -------------------------------------------------------------------
>
>                 Key: OAK-2218
>                 URL: https://issues.apache.org/jira/browse/OAK-2218
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segmentmk
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>         Attachments: OAK-2218-v2.patch, OAK-2218-v3.patch, OAK-2218.patch
>
>
> Currently drilling down from a SegmentNodeBuilder via the child node methods 
> will switch you over to a simple MemoryNodeBuilder. 
> It turns out this has a big impact on memory consumption when running a full 
> Lucene reindex as all of the files (all list of Blobs) will be backed by 
> in-memory byte arrays, instead of SegmentBlobs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to