I've left it running over the weekend.

There's a couple of things I figured out/forgot to mention.

I didnt have any issues with address memory prior to this, and I remembered I 
changed a setting for my acceptors just before this started happening:
amqpMinLargeMessageSize=512400
I bumped minLargeMessageSize to 500kB from default 100. As far as I remember 
this was the only change.

This is a replicating cluster with 2 nodes, primary and secondary. I use 3 
zookeeper for quorum.
Never had any similar issues for the last couple of months.


Also, the address mem now looks like this - 123% used ...
https://i.imgur.com/grlM6Sy.png




________________________________
From: Gašper Čefarin <[email protected]>
Sent: 05 September 2025 14:52:31
To: [email protected]
Subject: Large address size for address with no messages in queues

Hi,
i'm using activemq artemis v2.41.0 -

I have an address that has 1 empty (no messages) queue. Even so, the address 
consumes ~400MB of memory (queue1).

The second largest address consumes around 21MB of memory. It also only has 1, 
currently empty queue (queue2).

These 2 queues have the highest "messages added/acked" count: 646640 and 648931 
respectively (notice that address with less msgs has bigger address size).

If at all important: all of the messages received in queue1 should go to queue2 
(using camel routes and a couple of custom processors - which should leave the 
message body unchanged)

So far, ive only noticed address memory rising if there were queues waiting to 
be acknowledged. What's going on - is this a possible memory leak? Do you need 
any more info?

Thanks


Reply via email to