activemq-artemis/tests/artemis-test-support
Josh Byster 8b3874d613
ARTEMIS-4809 Allow configuring initial queue buffer size
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 initial-queue-buffer-size, which defaults
to the current value of 8192. It can be set programmatically via
QueueConfiguration#setInitialQueueBufferSize(int).

Note that this must be a positive power of 2.
2024-08-14 13:18:29 -05:00
..
src/main/java/org/apache/activemq ARTEMIS-4809 Allow configuring initial queue buffer size 2024-08-14 13:18:29 -05:00
pom.xml [maven-release-plugin] prepare for next development iteration 2024-07-25 13:47:10 -04:00