Github user franz1981 commented on the issue: https://github.com/apache/activemq-artemis/pull/2199 @morefuntang Please check if master has fixed your issue with GC and close this one: it has been addressed on https://github.com/apache/activemq-artemis/pull/2250 With it there isn't any pooled direct buffers anymore, but each compaction will create just one direct ByteBuffer reusing it for the whole process and releasing it deterministically when finished :+1:
---