You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "jk@penguinsfan.com" <jk...@penguinsfan.com> on 2006/11/29 03:57:08 UTC

Heap overflow after consumer closes

This is with the Kaha store and the store durable pending cursor.  Messages
size is 10 kilobytes.  Heap size set to 512MB.  activemq.xml configured for
100 MB.

1. Start a consumer for a durable topic and stop it immediately.
2. Wait until 50000 messages have been enqueued.
3. Start the producer for the durable topic (leave it running for remainder
of test).
4. Restart the consumer from Step #1, have it consume 8000 messages.
5. Once the consumer has ended, heap usage will rise until out of heap
(forcing GC does not affect).

UsageManager only indicates approx 1% memory usage, so this leak is outside
of what UsageManager monitors.

Memory usage was about 80 MB at the time the consumer closed, and rose to >
500 MB within one minute of the consumer closing.
-- 
View this message in context: http://www.nabble.com/Heap-overflow-after-consumer-closes-tf2722488.html#a7592496
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.