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/

Reply via email to