GitHub user willr3 opened a pull request: https://github.com/apache/activemq-artemis/pull/970
pool InVMConnection buffers and copy to retain We are running performance tests against Wildfly 10.1.0. Our current tests generate 2400 MB/s of garbage and over 200 MB/s is coming from the InVMConnection buffer allocation. Changing to Pooled Netty buffers and copying the content into Unpooled buffers when the buffer is retained (e.g. by MessageImpl) decreases the allocation rate by 200 MB/s and decreases total GC Pause time from 39 seconds to 29 seconds. You can merge this pull request into a Git repository by running: $ git pull https://github.com/willr3/activemq-artemis master-InVMPool Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/970.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 #970 ---- commit 8e4f0d60a632e4d19b93a269ef1c5071dfb02a5d Author: Will Reichert <wil...@gmail.com> Date: 2017-01-04T16:14:16Z pool InVMConnection buffers and copy to retain ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---