You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Danielius Jurna <da...@elitnet.lt> on 2006/12/29 17:06:35 UTC
Kaha persistance and memory usage
Hi.
Currently I'm evaluating kaha persistance and I have few questions.
1. It seems that flow management for fast producers doesn't work (it may be
normal due to different persistance nature comparing to journaled store)
2. It seems that index for messages is held in memory, so broker can endup
whith OutOfMemoryException on slow consumers.
I was testing kaha which comes whith AMQ 4.0.2. Messages were sent to queues
without transactions.
--
View this message in context: http://www.nabble.com/Kaha-persistance-and-memory-usage-tf2895222.html#a8088939
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Kaha persistance and memory usage
Posted by Rob Davies <ra...@gmail.com>.
this issue is resolved for 4.2 - there are a number of different
issues around this (e.g. http://issues.apache.org/activemq/browse/
AMQ-914) - which have been addressed recently.
cheers,
Rob
On 11 Jan 2007, at 18:13, Homer wrote:
>
> I have noticed the same. Luckily, our messages are small enough
> that we can
> fit more than we need in memory. However, it's a huge limitation
> and when
> OutOfMemory is thrown, the queue can get corrupted.
>
>
> Danielius Jurna wrote:
>>
>> I've tried 4.1.0 version, if messages are not consumed from the
>> queue,
>> memory usage in the broker still increases untill out of memory
>> exception
>> is thrown.
>>
>
> --
> View this message in context: http://www.nabble.com/Kaha-
> persistance-and-memory-usage-tf2895222.html#a8278109
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Re: Kaha persistance and memory usage
Posted by Homer <ho...@nwlight.com>.
I have noticed the same. Luckily, our messages are small enough that we can
fit more than we need in memory. However, it's a huge limitation and when
OutOfMemory is thrown, the queue can get corrupted.
Danielius Jurna wrote:
>
> I've tried 4.1.0 version, if messages are not consumed from the queue,
> memory usage in the broker still increases untill out of memory exception
> is thrown.
>
--
View this message in context: http://www.nabble.com/Kaha-persistance-and-memory-usage-tf2895222.html#a8278109
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Kaha persistance and memory usage
Posted by Danielius Jurna <da...@elitnet.lt>.
I've tried 4.1.0 version, if messages are not consumed from the queue, memory
usage in the broker still increases untill out of memory exception is
thrown.
rajdavies wrote:
>
> In 4.0.2 the index for messages was held in memory in Kaha - this is
> not the case in later releases - please try http://www.activemq.org/
> site/activemq-410-release.html
>
> cheers,
>
> Rob
>
> On 29 Dec 2006, at 16:06, Danielius Jurna wrote:
>
>>
>> Hi.
>>
>> Currently I'm evaluating kaha persistance and I have few questions.
>> 1. It seems that flow management for fast producers doesn't work
>> (it may be
>> normal due to different persistance nature comparing to journaled
>> store)
>> 2. It seems that index for messages is held in memory, so broker
>> can endup
>> whith OutOfMemoryException on slow consumers.
>>
>> I was testing kaha which comes whith AMQ 4.0.2. Messages were sent
>> to queues
>> without transactions.
>>
>> --
>> View this message in context: http://www.nabble.com/Kaha-
>> persistance-and-memory-usage-tf2895222.html#a8088939
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>
>
--
View this message in context: http://www.nabble.com/Kaha-persistance-and-memory-usage-tf2895222.html#a8277130
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Kaha persistance and memory usage
Posted by Rob Davies <ra...@gmail.com>.
In 4.0.2 the index for messages was held in memory in Kaha - this is
not the case in later releases - please try http://www.activemq.org/
site/activemq-410-release.html
cheers,
Rob
On 29 Dec 2006, at 16:06, Danielius Jurna wrote:
>
> Hi.
>
> Currently I'm evaluating kaha persistance and I have few questions.
> 1. It seems that flow management for fast producers doesn't work
> (it may be
> normal due to different persistance nature comparing to journaled
> store)
> 2. It seems that index for messages is held in memory, so broker
> can endup
> whith OutOfMemoryException on slow consumers.
>
> I was testing kaha which comes whith AMQ 4.0.2. Messages were sent
> to queues
> without transactions.
>
> --
> View this message in context: http://www.nabble.com/Kaha-
> persistance-and-memory-usage-tf2895222.html#a8088939
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>