chia7712 commented on PR #12995:
URL: https://github.com/apache/kafka/pull/12995#issuecomment-2269390883

   > I have realized it was the wrong approach. I think it is better for this 
test to be rewritten to allocate more than the JVM memory itself, similar to 
GarbageCollectedMemoryPoolTest, and expect GC to prevent OOMEs. Or be rewritten 
as a unit test, like you said. Maybe another strategy is required for 
ThreadCacheTest.
   
   agree. I will file sub tasks to KAFKA-14396 to fix them, and 
`testBuffersDereferencedOnClose` will have highest priority as it fails 
frequently


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

Reply via email to