activemq-issues mailing list archives

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


Christopher L. Shannon commented on AMQ-6811:

Thanks, I moved it to the right location.

> 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