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

   There's two tests where we use 250_000 as number of collected hits, but we 
only ever index max 2000 docs. That makes use create a priority queue of size 
250_000 for each segment partition which causes out of memory errors when the 
number of partitions is higher than a few.
   
   With this commit I propose that we lower the threshold to 2000 for those 
tests that need a high number of collected hits. The assumption that a priority 
queue is not built within the LargeNumHitsTopDocsCollector still holds so this 
change should not defeat the purpose of the tests.


-- 
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