You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Rob Davies (JIRA)" <ji...@apache.org> on 2008/01/21 10:11:24 UTC

[jira] Resolved: (AMQ-1083) Heap overflow when durable consumer closes

     [ https://issues.apache.org/activemq/browse/AMQ-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies resolved AMQ-1083.
-----------------------------

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

Recommend use AMQStore - as Kaha Store is depreciated 

> 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: 5.0.0
>            Reporter: jk@penguinsfan.com
>            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.