ChrisHegarty commented on issue #15068: URL: https://github.com/apache/lucene/issues/15068#issuecomment-3188470879
Assuming , JDK 21+ and Lucene 9.12.x: I have not looked in detail, but `SegmentInfos.readLatestCommit` uses `IOContext.READONCE`, which means that we should use a _confined_ `Arena`, and that arena should be closed which would in turn release the mapping. Clearly something is wrong, but it seems more like a bug in 9.x, since the usage in `readLatestCommit` should result in a confined arena, rather than the more complex shared arena code path. -- 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