I tried in two machines, in one I had 0.5, in the other I did not set it which means the default is 0.4.<div><br></div><div>They both crashed and I get many memory alarms and clears in the log.</div><div><br></div><div>The memory goes up and down through the test, and soon or later it fills both memory and swap until it gets to crash.</div>

<div><br></div><div>Cheers,</div><div>---<br>Massimo Paladin<br><br>email:�<a href="mailto:massimo.paladin@gmail.com" target="_blank">massimo.paladin@gmail.com</a><br>website:�<a href="http://www.mpaladin.com/" target="_blank">http://www.mpaladin.com</a><br>

flickr&#39;s page:�<a href="http://flickr.com/photos/massimop" target="_blank">http://flickr.com/photos/massimop</a><br>
<br><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 5:06 PM, Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@rabbitmq.com">matthias@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Massimo,<div class="im"><br>
<br>
On 07/08/11 20:52, Massimo Paladin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Why does the memory goes up if there are no consumers attached to the topic?<br>
</blockquote>
<br></div>
Messages are processed in a fully asynchronous pipeline, and the decision on whether to discard a message is made at a later stage.<br>
<br>
Having this pipeline allows rabbit to absorb spikes in message load, i.e. it can read messages off the socket quickly and pass them to the next stage of the pipeline.<br>
<br>
However, if the load is not a spike and instead is consistently high then obviously rabbit will run out of memory eventually. To prevent that, memory usage is monitored and producers are temporarily blocked to relieve memory pressure. So...<div class="im">

<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The scenario provided makes memory increasing and if you let it run for<br>
some time at some point rabbitmq crashes because it can not allocate memory.<br>
</blockquote>
<br></div>
That shouldn&#39;t happen. Do you get any memory alarms in the rabbit logs? Also, does Rabbit run out of memory with the default threshold of 0.4?<br>
<br>
Regards,<br><font color="#888888">
<br>
Matthias.<br>
</font></blockquote></div><br></div>