[ 
https://issues.apache.org/jira/browse/ARTEMIS-4809?focusedWorklogId=925509&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-925509
 ]

ASF GitHub Bot logged work on ARTEMIS-4809:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Jul/24 17:23
            Start Date: 11/Jul/24 17:23
    Worklog Time Spent: 10m 
      Work Description: joshb1050 commented on code in PR #4966:
URL: https://github.com/apache/activemq-artemis/pull/4966#discussion_r1674392991


##########
docs/user-manual/configuration-index.adoc:
##########
@@ -798,6 +798,11 @@ see `auto-create-queues` & `auto-create-addresses`
 | Number of messages a management resource can browse
 | 200
 
+
+| 
xref:address-settings.adoc#address-settings[intermediate-message-buffer-initial-size]
+| The number of elements in the intermediate message buffer (`Object[]`) 
allocated for each queue

Review Comment:
   Done



##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQMessageBundle.java:
##########
@@ -551,4 +551,7 @@ IllegalStateException invalidRoutingTypeUpdate(String 
queueName,
 
    @Message(id = 229253, value = "Unable to acquire OperationContext when 
replicating packet: {}. ExecutorFactory: {}")
    IllegalStateException replicationFailureRepliTokenNull(String packet, 
String executorFactory);
+
+   @Message(id = 229254, value = "{} must be a power of 2 (actual value: {})")

Review Comment:
   Done





Issue Time Tracking
-------------------

    Worklog Id:     (was: 925509)
    Time Spent: 2h 10m  (was: 2h)

> 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: 2h 10m
>  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


Reply via email to