[rabbitmq-discuss] Limit QueueingConsumer Memory Usage

Lars George lars at worldlingo.com
Thu Jul 16 16:05:30 BST 2009

Hi Ben,

OK, well that is a start, if you saw the right behavior with only one 
element in the local queue then that also tells something. Somewhere I 
must miss a setting or so. Let me dig in deeper.

Just to confirm, the beta server and Java client that is on the main 
download page is what I need, right?


Ben Hood wrote:
> Lars,
> On Thu, Jul 16, 2009 at 1:23 PM, Lars George<lars at worldlingo.com> wrote:
>> I sent you the source in a separate message. Please let me know if that
>> helps or if you want me to send you the compiled classes too. Yes, the host
>> is hardcoded, that is the only real dependency which is of course easily
>> changed. If you like I can change the code so that the host is a command
>> line option too. Please advise.
> Ok, I've just run this code and the behavior is the same as yesterday,
> i.e. I my observations do not concur with yours.
> When setting prefetch to 1, the internal queue never grows bigger than
> one, which is inline with what it with what it is designed to do.
> When I turn off QoS, the maximum queue depth I observed was about 150,
> but YMMV of course.
> Hence, I can't really help in this case since I cannot reproduce the issue.
>> What is an m2 client?
> I meant that you cook up a maven pom to that will run everything. I
> don't know if this will shed any light on the situation, because I
> imported your code and the only thing I modified was the hostname and
> the namespace of the classes.
> Hence, I'm at a loss as to what could be going wrong - the only think
> that I can think is that you may using a earlier version of Rabbit
> (although you said that you've upgraded to 1.6.0) and if you were, I'd
> expect to see something in the server logs.
> Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lars.vcf
Type: text/x-vcard
Size: 301 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090716/f838debb/attachment.vcf 

More information about the rabbitmq-discuss mailing list