I am using Erlang R12B. The server had around 20GB of Ram.<div><br></div><div>There were around 30 queues on the server with the total memory consumption calculated with�</div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">$ rabbitmqctl list_queues name memory</font></div>

<div><br></div><div>-Abhishek Kona<br><div><br clear="all">Abhishek Kona<br>Department of Computer Engineering<br>National Institute of Technology<br>Karnataka, India<br>
<br><br><div class="gmail_quote">On Wed, Aug 3, 2011 at 5:21 PM, Emile Joubert <span dir="ltr">&lt;<a href="mailto:emile@rabbitmq.com">emile@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;">

Hi Abhishek,<br>
<div class="im"><br>
On 03/08/11 11:15, Abhishek K wrote:<br>
&gt; I am running RabbitMQ 2.20 on Debian Lenny (2.6.26).<br>
&gt; There was no changes in the code using RabbitMQ, only the usage rate<br>
&gt; increased by 20%.<br>
<br>
</div>You don&#39;t mention the version of Erlang you use. It is worth bearing in<br>
mind that later versions of Erlang do better garbage collection. Also,<br>
how much RAM is installed on the server? You should generally expect<br>
that Erlang / RabbitMQ will use as much RAM as it can.<br>
<br>
You said that the broker uses 11GB RAM and that the queue size was 7MB -<br>
how were these figures determined? If that 7MB is distributed across a<br>
large number of queues then that is a possible explanation for the high<br>
memory usage. If the startup after a clean �shutdown takes an inordinate<br>
amount of time then you might have more than 7MB worth of messages on<br>
the broker.<br>
<br>
You should also inspect the results from running all the &quot;rabbitmqctl<br>
list_*&quot; commands to make sure your application isn&#39;t using up too many<br>
resources (e.g. queues or exchanges) on the broker.<br>
<br>
RabbitMQ version 2.5.1 adds more memory reporting features to the<br>
&quot;rabbitmqctl status&quot; command, with a breakdown of where memory is being<br>
used. This is not available on version 2.2.0, but it is another possible<br>
reason to upgrade.<br>
<br>
<br>
<br>
Regards<br>
<font color="#888888"><br>
Emile<br>
</font></blockquote></div><br></div></div>