[
https://issues.apache.org/jira/browse/ARTEMIS-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17294739#comment-17294739
]
ASF subversion and git services commented on ARTEMIS-3133:
----------------------------------------------------------
Commit bc83b3123277ce3bc2d2a030ae55770497ec3b51 in activemq-artemis's branch
refs/heads/master from franz1981
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=bc83b31 ]
ARTEMIS-3133 Reduce memory usage for Null an Ping packets
> Reduce memory usage for Null an Ping packets
> --------------------------------------------
>
> Key: ARTEMIS-3133
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3133
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Major
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> Currently NullResponseMessage and Ping report a wrong expected size (==
> 1500): it means that the allocated Netty buffers will be much bigger then
> necessary eg null is 13 bytes, while null v2 is 21.
>
> In addition, NullReponseMessage could be cached if the transport channel
> won't use any resend cache, greatly reducing the memory used under load.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)