benwtrent commented on issue #12570: URL: https://github.com/apache/lucene/issues/12570#issuecomment-1724413959
OK, debugging some more, looks like merging multiple segments and then force merging with Lucene Util 100% replicates this in 9.6. The connection count on force merge increases from the configured 32 to 192. We need to limit the diverse connections and backwards connections I am guessing. To protect users in the medium term, something like ```java if (arcCount > currentNeighborsBuffer.length) { currentNeighborsBuffer = ArrayUtil.grow(currentNeighborsBuffer, arcCount); } ``` should be added for Lucene95 codec vector reader. But we are expanding connections to a fairly obscene amount. Jumping from an initial connection configuration of 32 to a whopping 192 is crazy! -- 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