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

jok updated AMQ-4814:
---------------------

    Attachment: DurableSubscriberLeakDemo.java

> Memory leak when unsubscribing durable consumer
> -----------------------------------------------
>
>                 Key: AMQ-4814
>                 URL: https://issues.apache.org/jira/browse/AMQ-4814
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.8.0
>            Reporter: jok
>              Labels: broker, durable_subscription, memory_leak
>         Attachments: DurableSubscriberLeakDemo.java, 
> StoreDurableSubscriberCursor.diff
>
>
> When creating and closing durable subscribers, references to 
> FilePendingMessageCursor in MemoryUsage.listeners are not cleaned up.
> The reason seems to be a missing call to FilePendingMessageCursor.destroy() 
> in StoreDurableSubscriberCursor.stop().



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to