<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 "logger" 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 "logger" 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'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 "memory leak." Everything works the way I want and there'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'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'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({"message":"a long message", "id":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're doing good now.</div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div></div><br>