[ https://issues.apache.org/jira/browse/ARTEMIS-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950215#comment-15950215 ]
ASF GitHub Bot commented on ARTEMIS-1025: ----------------------------------------- Github user clebertsuconic commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1119#discussion_r109077316 --- Diff: artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnection.java --- @@ -46,40 +43,37 @@ public class NettyConnection implements Connection { - // Constants ----------------------------------------------------- - private static final int BATCHING_BUFFER_SIZE = 8192; - - // Attributes ---------------------------------------------------- + private static final int DEFAULT_MTU_BYTES = Integer.getInteger("io.netty.mtu", 1460); + //backpressure on unbatched writes is enabled by default --- End diff -- Any form of configuration here would have to be done through connection properties.. on the case through the URI that will specify the connector... I'm not saying I agree with these.. more to follow > OutOfDirectMemoryError raised from Netty > ---------------------------------------- > > Key: ARTEMIS-1025 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1025 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Reporter: Francesco Nigro > Assignee: Francesco Nigro > > If you send and receive a lot of messages in short time to Artemis via Netty > connector, the OutOfDirectMemoryError exception is thrown from the client. -- This message was sent by Atlassian JIRA (v6.3.15#6346)