[rabbitmq-discuss] rabbitmq memory usage
matthias at rabbitmq.com
Tue Feb 25 15:52:42 GMT 2014
On 25/02/14 13:38, Sergey Kraev wrote:
> I have 10 persistent queues without consumers which I start to fill from
> topic exchange with 100 bytes long messages at the fastest rate
> possible. One hour and 100 million messages later erlang process is
> using all available RAM (3 GB) and message publishing rate at each queue
> drops from 3000 messages per second to zero.
> I’d like to know if this behavior is expected and for given
> configuration the queue backlog limit is 100 million messages.
100 million messages in 3GB gives a per-message memory cost of ~30
bytes. That's actually lower than expected; are the same messages routed
to multiple queues?
Anyway, yes, that behaviour is expected.
More information about the rabbitmq-discuss