You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/10/09 10:47:00 UTC
[jira] [Commented] (QPID-7963) [AMQP1.0] Sending a large message to
a client uses excessive heap memory
[ https://issues.apache.org/jira/browse/QPID-7963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16196806#comment-16196806 ]
ASF subversion and git services commented on QPID-7963:
-------------------------------------------------------
Commit 3eb2426b0f4f784817f64e032cd29057e8010272 in qpid-broker-j's branch refs/heads/master from [~alex.rufous]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=3eb2426 ]
QPID-7963: [Java Broker] [AMQP1.0] Improve heap memory consumption on transferring large messages
The changes are based on patch submitted by Rob Godfrey <rg...@apache.org>
> [AMQP1.0] Sending a large message to a client uses excessive heap memory
> ------------------------------------------------------------------------
>
> Key: QPID-7963
> URL: https://issues.apache.org/jira/browse/QPID-7963
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: qpid-java-broker-7.0.0
> Reporter: Keith Wall
> Fix For: qpid-java-broker-7.0.0
>
> Attachments: AMQP1.0transientmessagestraverseheap.png, QPID-7963.diff
>
>
> Examining heap usage whilst running a large transient message test, I see that large AMQP 1.0 messages manifest fully on the heap whilst they traverse the Broker. Neither AMQP 0-9 not AMQP 0-10 do this.
> See attached jvisualvm screenshot. The spike at 3.17PM is a 300MB message being produced/consumed. Later in the same test (same graph) a 750MB message went over AMQP 0-9 and 0-10 messages with no discernible heap impact.
> Command line was:
> {{(export MAVEN_OPTS='-Xmx3g'; mvn package exec:java -f pom.xml -Dstresstest=qpid-jms-client -Dexec.args='messagecount=1 size=300000000 random=false jndiProperties=stress-test-client-qpid-jms-client.properties')}}
> Java Broker running with out of the box memory settings with {{-Dqpid.max_message_size=2000000000 -Dqpid.port.max_message_size=2000000000}}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org