activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Davies (JIRA)" <>
Subject [jira] Resolved: (AMQ-1083) Heap overflow when durable consumer closes
Date Mon, 21 Jan 2008 09:11:24 GMT


Rob Davies resolved AMQ-1083.

       Resolution: Fixed
    Fix Version/s:     (was: 5.2.0)

Recommend use AMQStore - as Kaha Store is depreciated 

> Heap overflow when durable consumer closes
> ------------------------------------------
>                 Key: AMQ-1083
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.0.0
>            Reporter:
>            Assignee: Rob Davies
>             Fix For: 5.1.0
> (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.
You can reply to this email to add a comment to the issue online.

View raw message