Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 6940 invoked from network); 23 Aug 2006 06:25:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 06:25:28 -0000 Received: (qmail 74938 invoked by uid 500); 23 Aug 2006 06:25:28 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 74741 invoked by uid 500); 23 Aug 2006 06:25:27 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 74732 invoked by uid 99); 23 Aug 2006 06:25:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 23:25:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 23:25:26 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GFmAk-0001fX-3j for activemq-users@geronimo.apache.org; Tue, 22 Aug 2006 23:25:06 -0700 Message-ID: <5938888.post@talk.nabble.com> Date: Tue, 22 Aug 2006 23:25:06 -0700 (PDT) From: pradeep To: activemq-users@geronimo.apache.org Subject: Re: problem with durable subscribers In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <5923485.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 James.Strachan wrote: > > As a guess the most likely is a really small value of limit="..."> in the conf/activemq.xml XML configuration file which the > default is a very small 1Mb of memory for use by the broker - you > might wanna add 2-3 zeros to it :) > > http://incubator.apache.org/activemq/xml-configuration.html > > > On 8/22/06, James Strachan wrote: >> What version are you using? How big are the messages? What is your >> configuration? >> >> On 8/22/06, pradeep wrote: >> > >> > I created a durable subsciber to a topic and disconnected the client. >> > I tried to send 1000 messages to the topic but I am noticing the the >> client >> > code session.send(msg) blocks after 92 messages are sent. >> > >> > I am using Oracle 9i for storing messages. >> > >> > select count(*) from activemq_msgs; >> > >> > returned me 92. >> > >> > Why is the client blocked. I am evaluating ActiveMQ and it would be >> great if >> > someone could reply. Thanks :) >> > -- >> > View this message in context: >> http://www.nabble.com/problem-with-durable-subscribers-tf2145613.html#a5923485 >> > Sent from the ActiveMQ - User forum at Nabble.com. >> > >> > >> >> >> -- >> >> James >> ------- >> http://radio.weblogs.com/0112098/ >> > > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/problem-with-durable-subscribers-tf2145613.html#a5938888 Sent from the ActiveMQ - User forum at Nabble.com.