RabbitMQ-Stomp plugin with Spring Stomp drains memory

I’m facing a memory issue for stomp RabbitMQ Pluging used with Java Spring Stomp application.
This is a cluster of 2 servers, but just one seems to have memory issue.

enter image description here

Now I move the pointer to the other server only, then this server is idle and this is the current memory usage:

enter image description here

And this is the VM HTOP response

enter image description here

Do you have any idea why memory usage is so high even without current connections?

The queues count is 119225 and it looks very hight too me. I don’t know exactly how RabbitMQ Stomp plugin handles the queues but I’m wondering if queues should be cleared every now and then…
Is it possibile there are a connection release issue or queue cancellation issue by stomp plugin?

These are my versions:
Ubuntu server 22.04.4
RabbitMQ 3.13.3
Erlang 26.2.5.1

Read more here: Source link