[rabbitmq-discuss] Limit QueueingConsumer Memory Usage
lars at worldlingo.com
Fri Jul 17 11:54:41 BST 2009
Darn it. I recompiled the whole lot and now it works! Not sure what
happened or why it did not run before (as I added the new basicQos() and
recompiled I assumed it is a fresh compile). But anyways, sorry for the
hassle and thanks for helping!
Ben Hood wrote:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 301 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090717/1b05b754/attachment.vcf
More information about the rabbitmq-discuss