navneet1v opened a new pull request, #16815:
URL: https://github.com/apache/lucene/pull/16815

   ### Description
   PR add the ability to move the graph data structure which is getting 
building during segment merges from Heap to offheap. Vectors are already 
present in offheap. This PR adds the ability to keep the graph structure off 
heap too. With this change now we can build large graphs which are greater than 
heap size with Lucene. Flushes I kept it still on heap since its generally very 
small. 
   
   With this change we should not see crashes in case of multiple graph builds 
or large graph builds.
   
   Related issue: https://github.com/apache/lucene/issues/15904
   
   ### Next Steps:
   1. Do the performance benchmarks with LuceneUtil and see how the code is 
performing.
   
   
   
   
   <!--
   If this is your first contribution to Lucene, please make sure you have 
reviewed the contribution guide.
   https://github.com/apache/lucene/blob/main/CONTRIBUTING.md
   -->
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to