original-brownbear opened a new pull request, #13464:
URL: https://github.com/apache/lucene/pull/13464

   We consume a lot of memory for the `indexIn` slices. If `indexIn` is of type 
`MemorySegmentIndexInput` the overhead of keeping loads of slices around just 
for cloning is far higher than the extra 12b per reader this adds (the slice 
description alone often costs a lot). In a number of Elasticsearch example uses 
with high segment counts I investigated, this change would save up to O(GB) of 
heap.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to