On Mon, Mar 29, 2010 at 10:01 PM, TMcCabe <team...@hotmail.com> wrote: > > > Looks as though I might have solved the problem. > > I am using a CPP producer and using the Apache AMQ-APP library. > In that producer for every message sent out, I was creating a destination > (Queue) then creating a producer then closing the producer and destination.
Yeah, that's definitely an anti-pattern and would cause dramatic memory fluctuations with the broker. > Looks as though AMQ doesn't like that and I thought I designed that poorly. > Once I created destinations and producers up front in the cpp code, then > just used the producer to send out a byte message. Memory usage seems to get > under control. Great! Bruce -- perl -e 'print unpack("u30","D0G)u8...@4vyy9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' ActiveMQ in Action: http://bit.ly/2je6cQ Blog: http://bruceblog.org/ Twitter: http://twitter.com/brucesnyder