mlex commented on pull request #7540: URL: https://github.com/apache/kafka/pull/7540#issuecomment-656635524
We are running into a similar issue and see lots of references to already deleted index files held by the kafka process. Is there a reason why the `safeForceUnmap ` shouldn't be called inside the `resize` method? With the current code, the `trimToValidSize` will always leave behind a mmap reference that's not unmapped (and will be dealt with by gc - which can lead to exactly the problem described in https://issues.apache.org/jira/browse/KAFKA-4614). ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org