[
https://issues.apache.org/jira/browse/ARTEMIS-4809?focusedWorklogId=922678&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922678
]
ASF GitHub Bot logged work on ARTEMIS-4809:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 07/Jun/24 21:57
Start Date: 07/Jun/24 21:57
Worklog Time Spent: 10m
Work Description: jbertram commented on PR #4966:
URL:
https://github.com/apache/activemq-artemis/pull/4966#issuecomment-2155625196
Thanks for the PR!
I think this would be better as an address-setting so you could easily
configure large swaths of queues. Right now there's no way to configure this
via `broker.xml`. It can only be configured if you're directly creating the
queue(s) programmatically.
Lastly, there's no tests or documentation for this new setting. Tests are
mandatory to ensure the functionality works properly and to mitigate future
regressions.
Issue Time Tracking
-------------------
Worklog Id: (was: 922678)
Time Spent: 20m (was: 10m)
> Make intermediateMessageReferences initial capacity configurable
> ----------------------------------------------------------------
>
> Key: ARTEMIS-4809
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4809
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Components: Broker
> Reporter: Josh Byster
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In some setups, there could be a few hundred thousand queues that are created
> due to many consumers that are connecting. However, most of these are empty
> and stay empty for the entire day since there aren't necessarily messages to
> be sent.
> The 8K {{intermediateMessageReferences}} instantiates an 64KB buffer
> ({{Object[]}}). This means we have large allocation and live heap that
> ultimately remains empty for almost the entire day.
> It would be quite nice if we could configure this initial size.
--
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