Hold strong reference to all buffers passed to LmdbJava (fixes #207) by 2018ik · Pull Request #214 · lmdbjava/lmdbjava
See repro steps: #207 (comment)
With this change, I don't see the issue anymore. Doesn't rely on reachabilityFence since that is JDK 9+