GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1119
ARTEMIS-1025 OutOfDirectMemoryError raised from Netty
It solve the OOM issue while under heavy load while:
- allowing the NettyConnection to perform a (configurable) weak form of
backpressure on unbatched "big" messages
- allowing multiple (concurrent) clients to query the memory usage of the
connection
- allowing batching without involving further copies of the data
- providing detailed memory load informations on OOM errors
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis
oom_netty_batch_backpressure
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1119.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 #1119
----
commit a421cd5b19e95feddfbb4b35e423591617e86283
Author: Francesco Nigro <[email protected]>
Date: 2017-03-15T13:52:52Z
ARTEMIS-1025 OutOfDirectMemoryError raised from Netty
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---