activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pradeep <pradeepzm...@gmail.com>
Subject Re: problem with durable subscribers
Date Wed, 23 Aug 2006 06:25:06 GMT

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 <usageManager
> 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 <james.strachan@gmail.com> wrote:
>> What version are you using? How big are the messages? What is your
>> configuration?
>>
>> On 8/22/06, pradeep <pradeepzmail@gmail.com> 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.


Mime
View raw message