Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/2199
@michaelandrepearce @morefuntang
I have just verified that the fix I have done is not complete yet;
there are indeed 3 points where native allocations are performed:
1. AbstractJournalUpdateTask::openFile - whole file
2. AbstractJournalUpdateTask::writeControlFile - tiny allocation
3. JournalImpl::readJournalFile - whole file
I have fixed just the last one, so It is ok to merge this PR in the
meantime a complete fix will arrive:
just cleaning the thread locals won't save from the high peak of native
resources utilisation when compaction is happening very often IMO.
---