--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To the rabbitmq.conf file?
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To the rabbitmq.conf file?
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
--
--
Hi Aviv,No, that's not actually the case. It has been a while since I tested these lazy queue scenarios. I re-set my environment, and re-created the test-lazy queue. I then published the following:1 message of 65536 bytes1 message of 2048 bytes (lower than the queue_index_embed_msgs_below value of 4096)
65535 messages of 65536 bytesAfter restart, RabbitMQ only loads the one message of 2048 bytes into memory.This document has good explanations - https://www.rabbitmq.com/lazy-queues.html#caveats-limitationsWithout knowing the specific details of message size, queue declaration, etc from your environment I can't explain what you're seeing at this point in time.Thanks -Luke
On Monday, April 22, 2019 at 10:27:52 AM UTC-7, aviv salem wrote:one small message is enough to load EVERYTHING into the memory?On Mon, 22 Apr 2019 at 18:29, Luke Bakken <lba...@pivotal.io> wrote:Hi Aviv,I can't reproduce what you report. I created a queue named "test-lazy" (durable, lazy) then I published 65536 messages of 65536 bytes each via PerfTest using these arguments:--predeclared --queue test-lazy --flag persistent --size 65536 --pmessages 65536 --producers 1 --consumers 0The "test-lazy-65K-msgs.png" file shows the state of that queue after the above command completes.I then restarted RabbitMQ. The other two files show the state of the queue and overview after the restart. You can see that no messages have been loaded into memory.In your case, either the queue was not declared lazy prior to publishing those messages, or perhaps there is at least one small message in the data store that triggers loading into memory
--