Freeing MappedByteBuffer
While investigating a production bug that indicated that the operating system of a server running only a JVM continually ran out of memory under a specific set of circumstances, I discovered a very interesting idiosyncrasy of the JVM. Specifically, memory allocated withmmap
through the MappedByteBuffer
(the super class of ... read more