activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (AMQ-6811) ReduceMemoryFootprint does not work on messages with no body
Date Fri, 15 Sep 2017 16:22:00 GMT


ASF subversion and git services commented on AMQ-6811:

Commit 6b27708ae15818d025e9f65a1bf8d54a31e01045 in activemq's branch refs/heads/master from
[;h=6b27708 ]

AMQ-6811 - moving ActiveMQMessageIsMarshalled test to src/test/java

> ReduceMemoryFootprint does not work on messages with no body
> ------------------------------------------------------------
>                 Key: AMQ-6811
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.15.0
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>             Fix For: 5.15.1, 5.16.0
> I was debugging an out of memory error on a broker that was caused by the unmarshalled
message properties being in memory even though the reduceMemoryFootprint flag was set to true
so this map should have been cleared after send.  
> Upon further investigation I realized it was because the isMarshalled() method on a message
only checks if the marshalled content is not null however the check should actually be if
the content is not null OR if the unmarshalled value is null/empty (ie no body set at all).
 This same check is already done properly for header properties and just needs to be extended
for the body.

This message was sent by Atlassian JIRA

View raw message