[ https://issues.apache.org/jira/browse/AMQ-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624853#comment-14624853 ]
ASF GitHub Bot commented on AMQ-5857: ------------------------------------- GitHub user cshannon opened a pull request: https://github.com/apache/activemq/pull/134 https://issues.apache.org/jira/browse/AMQ-5857 Changing ActiveMQTextMessage to clear out the text field on marshal to a ByteSequence to prevent the data from being stored in memory twice. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cshannon/activemq AMQ-5857 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq/pull/134.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 #134 ---- commit 4e10e046d42a2b794ef830517bfaf651562c970a Author: Christopher L. Shannon (cshannon) <christopher.l.shan...@gmail.com> Date: 2015-07-13T15:31:14Z https://issues.apache.org/jira/browse/AMQ-5857 Changing ActiveMQTextMessage to clear out the text field on marshal to a ByteSequence to prevent the data from being stored in memory twice. ---- > Message content stored twice while sending > ------------------------------------------ > > Key: AMQ-5857 > URL: https://issues.apache.org/jira/browse/AMQ-5857 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 5.7.0, 5.8.0, 5.9.0, 5.10.0, 5.11.0 > Reporter: Benjamin Graf > > The storeContent method in ActiveMQTextMessage does not clean text field > after storing content. Therefor the message temporary exists twice which can > lead to OOM problems for large or many text messages concurrently processing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)