joshb1050 opened a new pull request, #4966: URL: https://github.com/apache/activemq-artemis/pull/4966
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. In this commit, we introduce `intermediate-message-buffer-initial-size`, which defaults to the current value of `8192`. It can be set programmatically via `QueueConfiguration#setIntermediateMessageBufferInitialSize(int)`. Note that this must be a power of 2. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
