[rabbitmq-discuss] Limit QueueingConsumer Memory Usage
Ben Hood
0x6e6562 at gmail.com
Thu Jul 16 14:34:59 BST 2009
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
More information about the rabbitmq-discuss
mailing list