activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swindells, Thomas" <TSwinde...@nds.com>
Subject RE: Getting Usage Manager Memory Limit reached message on the topic
Date Thu, 21 Apr 2011 15:19:59 GMT
Is your consumer setup to be a durable subscriber by any chance?
Before: Your broker received a message for the topic, it has no subscribers for it so throws
the message away.
Now: Your broker receives a message for the topic, it knows that it has a subscriber who wants
to be sent the messages when it reconnects, so keeps the message, using up all your memory.

If your subscriber isn't configured to be durable, then if it isn't connected it won't get
the messages, when it reconnects it only gets newly arrived messages.

Thomas

> -----Original Message-----
> From: manua [mailto:agarwal.manu@gmail.com]
> Sent: 20 April 2011 20:40
> To: users@activemq.apache.org
> Subject: Getting Usage Manager Memory Limit reached message on the
> topic
>
> HI,
>
> I have a topic on which millions of messages are published and there
> was no
> subscriber on that, till that time it was working fine.
>
> I put a subscriber on that, read some messages and subscriber was
> killed.
> After some time, I got Usage Manager Memory Limit message and the
> system
> crashes. In the past the same topic has handled much more messages than
> today.Only difference there was no subscriber in the past.
>
> What could be the reason for this.
>
> Thanks,
> Manu
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Getting-Usage-Manager-Memory-
> Limit-reached-message-on-the-topic-tp3463961p3463961.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.


**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this
message in error, please immediately notify the postmaster@nds.com and delete it from your
system as well as any copies. The content of e-mails as well as traffic data may be monitored
by NDS for employment and security purposes. To protect the environment please do not print
this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom.
A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

Mime
View raw message