[
https://issues.apache.org/jira/browse/AMQ-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648020#comment-14648020
]
ASF subversion and git services commented on AMQ-5857:
------------------------------------------------------
Commit 84ec047d2ffdee9630f74bf939746cd5ff2d0e12 in activemq's branch
refs/heads/master from [~christopher.l.shannon]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=84ec047 ]
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
> Assignee: Christopher L. Shannon
>
> 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)