Open sgup432 opened 1 year ago
Seems like during cache.remove(), eventually MappedPageSource.free() is called, where we submit a task asynchronously with above thread name, and these threads are not getting cleaned up even after cacheManager is closed.
@chrisdennis
@chrisdennis Do you know if this would be picked up? I am not sure if I can pick it up. I am guessing this background thread is cleaning up some offheap memory associated with disk cache. Is there a workaround this for now? Would be helpful.
@chrisdennis Any update on this?
I was trying echache3 (3.10.8) purely as a disk store. While testing with multiple gets/puts, it works fine as expected.
But when I tried to use
remove
API and then close the cache afterwards, there was still some thread(MappedByteBufferSource) lingering onMy code setup and steps to reproduce:
After this, I always see above thread leaks happening. Can someone look into this and verify?