GitHub user franz1981 opened a pull request: https://github.com/apache/activemq-artemis/pull/2250
ARTEMIS-1996 MappedSequentialFileFactory may cause DirectByteBuffer off-heap memory leaks Compaction is now reusing direct ByteBuffers on both reading and writing with explicit and deterministic release to avoid high peak of native memory utilisation after compaction. You can merge this pull request into a Git repository by running: $ git pull https://github.com/franz1981/activemq-artemis mmap_ro_2_read_journal Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/2250.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2250 ---- commit efab802be791f4142c3f05543dd7da6b8469e82f Author: Francesco Nigro <nigro.fra@...> Date: 2018-08-15T12:39:41Z ARTEMIS-1996 MappedSequentialFileFactory may cause DirectByteBuffer off-heap memory leaks Compaction is now reusing direct ByteBuffers on both reading and writing with explicit and deterministic release to avoid high peak of native memory utilisation after compaction. ---- ---