<div dir="ltr">For the most part, with Spring-AMQP, you can avoid having to do manual acks - use AcknowledgeMode.AUTO (default), set the prefetch (basic.qos) and txSize to, say, 1000, and the container will send the ack each time 1000 messages are processed (per thread).<div>
<br></div><div><a href="http://docs.spring.io/spring-amqp/docs/1.3.4.RELEASE/reference/html/amqp.html#containerAttributes">http://docs.spring.io/spring-amqp/docs/1.3.4.RELEASE/reference/html/amqp.html#containerAttributes</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 2, 2014 at 12:24 PM, gui.balde <span dir="ltr"><<a href="mailto:gperes@daitangroup.com" target="_blank">gperes@daitangroup.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Michael,<br>
<br>
I just shot for 'memory leak' cause I saw it was an issue in the past. I've<br>
been trying to improve our consumer logic to make it faster/more effective.<br>
It was good refactoring, but it can only take us too far before we run out<br>
of memory again.<br>
<br>
I'll look into the QoS and manual acks. Those were good tips. Should I have<br>
any questions, I'll post back.<br>
<br>
Thank you very much for your time.<br>
<br>
Guilherme.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/Workpool-memory-leak-on-3-3-1-tp35984p35988.html" target="_blank">http://rabbitmq.1065348.n5.nabble.com/Workpool-memory-leak-on-3-3-1-tp35984p35988.html</a><br>

<div class="im HOEnZb">Sent from the RabbitMQ mailing list archive at Nabble.com.<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>