Is there a way to place a memory restriction on rabbitmq? I am getting a bit tired of it locking up all the available memory when there are a significant amount of items in the queue since it won't write them to disk<div>
<br></div><div>Suhail<br><br><div class="gmail_quote">On Thu, Sep 24, 2009 at 7:11 AM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@lshift.net">matthias@lshift.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Gavin,<br>
<br>
Gavin M. Roy wrote:<br>
</div><div class="im">> Is it safe to assume the VM will make use of what it's holding on to and<br>
> it's not a leak of some sort?<br>
<br>
</div>I doubt it is a leak, but the VM can hold on to free memory in the<br>
anticipation of future need which may never materialise.<br>
<div class="im"><br>
> (rabbit@mq07)1> memory().<br>
> [{total,354514080},<br>
<br>
</div>So that's just ~350MB there, which means the rest of the VM process'<br>
memory is technically free but hasn't been returned to the OS, unless<br>
there's a leak in the VM itself.<br>
<br>
The docs for erlang:memory/0 mention various caveats regarding the<br>
accuracy of the reported figures, and ways to improve that accuracy,<br>
which is something you may want to look into if you want to investigate<br>
this further.<br>
<div><div></div><div class="h5"><br>
<br>
Regards,<br>
<br>
Matthias.<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://mixpanel.com">http://mixpanel.com</a><br>Blog: <a href="http://blog.mixpanel.com">http://blog.mixpanel.com</a><br>
</div>