If you want to avoid using a snapshot - you can use the latest Fuse
Message Broker version of ActiveMQ which has this fixed: http://open.iona.com/products/fuse-message-broker/
On Jan 25, 2008, at 12:58 AM, dalin wrote:
I think I've come across another case with ver5.0 (released) where
the memory
used by the linkedlist pagedInMessages can result in broker memory
bloat for
large messages. The case involves a very slow consumer, wherein the
messages
sent by the producer are kept in the linkedlist. The reason for the
slow
consumer is that my application is using the consumer to receive the
messages and then inserting the data from the message into a db. As
the db
grows, the query takes longer to process. Since the messages are
persisted
to the message store on disk, I reasoned it would not be necessary
to keep a
MessageReference to them in memory in the case of slow consumers.
With the
exception of using the latest snapshot build, I've been trying to
figure out
ways to limit the size of the linkedlist. Any help would be
appreciated.
--
View this message in context:
http://www.nabble.com/ActiveMQ-ver5.0-number-of-paged-in-messages-tp14860957s2354p15078957.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.