<DIV></:includetail>&nbsp;</DIV>
<DIV>&gt;yaohui wrote:<BR>&gt; RabbitMQ 2.4.0 / erlang&nbsp; R14B<BR>&gt; Java client rabbitmq-java-client-bin-2.4.0<BR><BR>&gt;Are these all running on the same machine?</:includetail></DIV>
<DIV>yes</:includetail></DIV>
<DIV>&gt;&nbsp;How much physical and virtual memory have you got configured on that machine?</:includetail></DIV>
<DIV>2g physical memory ,7g virtual memory </:includetail></DIV>
<DIV>&gt;&nbsp;What memory limit does rabbit think it has? (check the rabbit.log near the beginning).</:includetail></DIV>
<DIV>40% physical memory by defaut (992.4m),<BR><BR>&gt;It looks like the broker owns about 1G of memory and is trying to <BR>allocate another gig. Could it be that some other applications <BR>(including the test client) are consuming the bulk of virtual memory? If <BR>so you need to configure rabbit with a lower memory threshold</:includetail></DIV>
<DIV>i think that's the point</:includetail></DIV>
<DIV></:includetail>&nbsp;</DIV>
<DIV>&nbsp;&gt;(see <A href="http://www.rabbitmq.com/extensions.html#memsup">http://www.rabbitmq.com/extensions.html#memsup</A>), setting it to about <BR>half of what is available for the broker to use after all the other <BR>applications running on the machine have been taken into account.</:includetail></DIV>
<DIV>I see<BR><BR>&gt;Regards,<BR><BR>&gt;Matthias<BR>&gt;PS: please keep the list cc'ed.</:includetail></DIV>
<DIV>Excuse me, i forgot that.</:includetail></DIV>
<DIV></:includetail>&nbsp;</DIV>
<DIV>Another question : if a producer sends plenty of messages constantly over the memory throttling, rabbitmq broker will block producer sending message, where these messages is? stay&nbsp;in the memory&nbsp;of producer? in this case, i think the producer would crash out of memory.</:includetail></DIV>
<DIV><BR>Regards,</DIV>
<DIV><BR>Yao<BR></DIV></:includetail>