Heap overflow when durable consumer closes
------------------------------------------
Key: AMQ-1083
URL: https://issues.apache.org/activemq/browse/AMQ-1083
Project: ActiveMQ
Issue Type: Bug
Components: Message Store
Affects Versions: 4.2.0
Reporter: [EMAIL PROTECTED]
(Not sure if bug is in broker or store, but my best guess is in the store, so
that is how I have assigned the bug. I have attempted to track down in the
code where the leak is occurring, but have not yet been successful.)
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. Using example producer and consumer programs.
1. Start a consumer for a durable topic and stop it immediately.
2. Start the producer for the durable topic (leave it running for remainder of
test).
3. Wait until 50000 messages have been enqueued.
4. Restart the consumer from Step #1, have it consume 8000 messages.
5. Once the consumer has ended (producer still running), heap usage will rise
until out of heap (forcing GC does not affect).
Heap usage was about 80 MB at the time the consumer closed, and rose to > 500
MB within one minute of the consumer closing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira