activemq-artemis/docs
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
..
diagrams ACTIVEMQ6-9 - port to markdown 2014-12-08 13:23:24 +00:00
hacking-guide ARTEMIS-4640: move os-maven-plugin extension into a profile, fix artemis-commons reproducibility 2024-02-07 12:03:39 -06:00
migration-guide ARTEMIS-4785 ARTEMIS-4702 Add profile and log4j2 files for non-run CLI commands 2024-08-14 14:59:51 +01:00
resources ARTEMIS-4383: add RAT config to fix the build, and LICENSE updates to reflect the new files 2023-08-03 13:04:47 +01:00
user-manual ARTEMIS-4809 Allow configuring initial queue buffer size 2024-08-14 13:18:29 -05:00