[
https://issues.apache.org/jira/browse/AMQ-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14606604#comment-14606604
]
Christopher L. Shannon commented on AMQ-5857:
---------------------------------------------
Coming from the broker side, this change actually makes more sense to me as
messages will be in memory longer term than a typical client where they go out
of scope after being sent and are eligible for GC.
I can start testing this out tomorrow and see if anything obvious breaks (ie
run through the full test suite, etc)
> 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)