Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-26 Thread Badri
Hi, I was able to simulate the slow consumer in Linux. Ofcourse I did not get OutOfMemory problem now. So I feel OOME could be due to using Windows (still not sure). I was able to send more than 309000 messages. I got around 330 alerts for slow consumer. I did not give -Xmx or -Xms option for T

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-17 Thread Rob Davies
er - we need to update the xsd ;) 5.2 has not been released yet - Gary Tully who was doing the release is on vacation for a two weeks - but I think we'll need a new RC cheers, Rob On 17 Sep 2008, at 15:51, Badri wrote: Thanks Rob for info. Does the tag advisoryForSlowConsumers be used in

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-17 Thread Badri
Thanks Rob for info. Does the tag advisoryForSlowConsumers be used in policyEntry? I could see 2 tags for advisory - advisorySupport & sendAdvisoryIfNoConsumers in the activemq-core-5.2.xsd. I just referred to activemq-core-5.2-SNAPSHOT.xsd & did not find tag advisoryForSlowConsumers. Not sure i

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Rob Davies
Your client is running foul of the topic prefetch - either use more memory (as you've suggested) - or use a smaller prefetch - see http://activemq.apache.org/what-is-the-prefetch-limit-for.html. The slow consumer advisory will be generated from the broker when this limit is reached - but only

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Badri
I am running broker, publisher, consumer all in Windows. I have not tried this in Linux. The broker & publisher are working fine. It's the consumer which is crashing. Removing Thread.sleep(1000), consumer works fine. It did not crash for a good amount of time before I manually stopped the TopicLis

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Bruce Snyder
On Tue, Sep 16, 2008 at 10:33 AM, Badri <[EMAIL PROTECTED]> wrote: > > Hi > > I am trying to simulate slow consumer using the classes > (TopicPublisher/TopicListener) provided in examples. > > I wanted to see if Web Console prints the Advisory topic for Slow Consumer. > But I am facing Out Of Memor

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Badri
Another observation is: If I comment Thread.sleep(1000); the error does not appear. Everything works fine. I have 3 command prompts: 1 running the broker, another TopicPublisher & 3rd TopicListener. My PC is having 2GB of memory & I am currently not running many applications. James.Strachan

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Badri
Yes. James.Strachan wrote: > > The broker is a separate process to the slow consumer right? > > 2008/9/16 Badri <[EMAIL PROTECTED]>: >> >> Hi >> >> I am trying to simulate slow consumer using the classes >> (TopicPublisher/TopicListener) provided in examples. >> >> I wanted to see if Web Conso

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread James Strachan
The broker is a separate process to the slow consumer right? 2008/9/16 Badri <[EMAIL PROTECTED]>: > > Hi > > I am trying to simulate slow consumer using the classes > (TopicPublisher/TopicListener) provided in examples. > > I wanted to see if Web Console prints the Advisory topic for Slow Consumer

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Badri
Active MQ 5.2 rajdavies wrote: > > Which version ? > On 16 Sep 2008, at 17:33, Badri wrote: > >> >> Hi >> >> I am trying to simulate slow consumer using the classes >> (TopicPublisher/TopicListener) provided in examples. >> >> I wanted to see if Web Console prints the Advisory topic for Slow

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Rob Davies
Which version ? On 16 Sep 2008, at 17:33, Badri wrote: Hi I am trying to simulate slow consumer using the classes (TopicPublisher/TopicListener) provided in examples. I wanted to see if Web Console prints the Advisory topic for Slow Consumer. But I am facing Out Of Memory Error & the consu