<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">1) no consumers ever subscribe to the &quot;logger&quot; queue.�Why do you have the logger queue�at all?</div>
</div></blockquote><div><br></div><div>This was my bad-- I for some reason thought you needed to declare a queue to send messages to an exchange. Fixed that now, no more &quot;logger&quot; queue.</div><div>�</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2) You are setting immediate=true. I&#39;d advise against that, for reasons<br>
I explained earlier. Setting exclusive or auto_delete on the queues, so<br>
that they disappear when the consumers vanish, should be sufficient.</blockquote><div><br></div><div>So I changed this now, exclusive=True and auto_delete=True and immediate=False on the Producer. This fixes the &quot;memory leak.&quot; Everything works the way I want and there&#39;s no mem usage growth or eventual crash. This is on 1.6.0 BTW. I guess it had something to do w/ immediate=True, but I&#39;m not positive.</div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Also, if you still see the problem�then, please post precise instructions on how to reproduce it -</blockquote>
<div><br></div><div>If you want to see the mem growth, use the code (I&#39;ve updated it) in my blog post but just add immediate=True to the basic_publish command. Then I just did</div><div><br></div><div>b = Producer()</div>
<div>for x in xrange(1000000):</div><div>�� �b.message({&quot;message&quot;:&quot;a long message&quot;, &quot;id&quot;:str(x)})</div><div><br></div><div>and you can just watch the mem increase, whether you have consumers or not. (only if immediate=True is on)</div>
<div><br></div><div>thanks for all the help, I think we&#39;re doing good now.</div><div><br></div><div><br></div><div><br></div><div><br></div><div>�</div></div><br>