Re: Producer flow control not working when there is only one pair

2009-10-02 Thread Dejan Bosanac
Great that you solved it. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Oct 2, 2009 at 10:19 AM, Dan Tran wrote: > > > I am finally have flow cont

Re: Producer flow control not working when there is only one pair

2009-10-02 Thread Dan Tran
I am finally have flow control working, the main problem was that I did not setup my topic consumer prefetch size. and since the default prefetch size for topic is 1000 multiply 1M per message, all messages goes to consumer dispatch queue and blow up there. The broker never had no chance to do a

Re: Producer flow control not working when there is only one pair

2009-10-01 Thread Dan Tran
Here are some more info for one producer one consumer testing message size = 1M producerWindowSize=10m memoryLimit=10M per topic memoryUsage=200M it seems like memoryLimit and memoryUsage and producerWindowSize are ignored. My inflightCount keeps going up ( ie my heap memory grow until OOM )