Thanks. I will try you tip. The messages are about 110 kb in size. James.Strachan wrote: > > On 8/23/06, pradeep <[EMAIL PROTECTED]> wrote: >> >> Thanks James.Adding more zeros helped. Now the producer is able to send >> messages successfully but when I start the subscriber, I am getting the >> exception >> >> [java] Exception in thread "ActiveMQ Transport: >> tcp://localhost/127.0.0.1:61616" java.lang.OutOfMemoryError: Java heap >> space > > How big are your messages? You should either increase the heap of your > subscriber or reduce the prefetch count. > > http://incubator.apache.org/activemq/what-is-the-prefetch-limit-for.html > -- > > James > ------- > http://radio.weblogs.com/0112098/ > >
-- View this message in context: http://www.nabble.com/problem-with-durable-subscribers-tf2145613.html#a5940751 Sent from the ActiveMQ - User forum at Nabble.com.
