[
https://issues.apache.org/jira/browse/ARTEMIS-4812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Clebert Suconic closed ARTEMIS-4812.
------------------------------------
Resolution: Fixed
> PageCursorInfo should be cleared on its Maps when page is marked as complete
> ----------------------------------------------------------------------------
>
> Key: ARTEMIS-4812
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4812
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.34.0
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Fix For: 2.35.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Say you have a paged destination where there is a lazy consumer. The other
> queues will keep consuming, and they will mark a page as complete. However
> PageCursorInfo::acks and PageCursorInfo::removedReferences should be cleared
> upon completion otherwise they will only be GCed when the page file is
> removed and the entries for PageCursorInfo removed.
> IntObjectHashMap also keeps an array of integers in memory and it won't
> remove it when all elements are removed. to the reference to IntObjectHashMap
> has to be set to null instead of removeAllReferences.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact