[
https://issues.apache.org/jira/browse/ARTEMIS-4024?focusedWorklogId=814082&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-814082
]
ASF GitHub Bot logged work on ARTEMIS-4024:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 05/Oct/22 20:05
Start Date: 05/Oct/22 20:05
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on code in PR #4240:
URL: https://github.com/apache/activemq-artemis/pull/4240#discussion_r985831499
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/cursor/impl/PageCursorProviderImpl.java:
##########
@@ -329,6 +329,7 @@ private void cleanupRegularStream(ArrayList<Page>
depagedPages,
if (page == null) {
break;
}
+ page.usageDown();
Review Comment:
not an intended change.. I'm removing this one
Issue Time Tracking
-------------------
Worklog Id: (was: 814082)
Time Spent: 20m (was: 10m)
> 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: Robbie Gemmell
> Priority: Major
> Fix For: 2.27.0
>
> Time Spent: 20m
> 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)