Fixing JNI Thread Leak in Ignite.NET, or How to Get a Thread Exit Callback in C#
Ignite.NET runs in-process JVM (in thick mode) and interacts with it using JNI. Since version 2.4, when Ignite.NET became cross-platform, we had a stealthy and mysterious bug: JVM thread count kept growing, consuming memory, even though actual OS thread count for the process was low.
GitHub Pages