[
https://issues.apache.org/jira/browse/ARTEMIS-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612911#comment-17612911
]
Robbie Gemmell commented on ARTEMIS-4024:
-----------------------------------------
The following change was for this Jira but referenced ARTEMIS-4020 in error.
{quote}
Commit 20fde76e99c040abafe6aecd8c22ddcb201fd8a4 in activemq-artemis's branch
refs/heads/main from Clebert Suconic
[ [https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=20fde76e99] ]
ARTEMIS-4020 Fixing Semaphore on soak-tests/OWLeakTest
I did not intend to have this difference in the semaphore.
The idea is that we never keep messages pending on this case, otherwise such a
huge message would use too much memory.
{quote}
> Avoid excessive NativeMemory allocation when sending OpenWire Multi mega
> sized messages in openwire
> ---------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-4024
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4024
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> when sending a large message in openwire, we will read the entire file on the
> memory, make the conversion from core, and send it on net
> throughOpenWireProtocolManager::sendPhisical.
> Such allocation should be limited and be sent in chunks.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)