[
https://issues.apache.org/jira/browse/AMQ-6798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140028#comment-16140028
]
ASF subversion and git services commented on AMQ-6798:
------------------------------------------------------
Commit 35bd3ad938f5c378b17a34980d2f3480bf3bbfc3 in activemq's branch
refs/heads/master from [~cshannon]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=35bd3ad ]
AMQ-6798 - Clean up store usage object on Queue stop
When queues are stopped the StoreUsage object needs to be stopped so it
will be removed from the parent StoreUsage. This allows the object to
be garbage collected and prevents a memory leak.
> Queue left StoreUsage object in memory. Memory leak
> ---------------------------------------------------
>
> Key: AMQ-6798
> URL: https://issues.apache.org/jira/browse/AMQ-6798
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.10.2, 5.15.0
> Environment: Linux 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24
> 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Anatolii Botov
> Assignee: Christopher L. Shannon
> Attachments: 1535.dmp, activemq.xml
>
>
> Our services create queues on broker. It queues exists in 1 day then they
> become inactive, cause clients turned off. Active mq removes them by
> Inactivity timeout 60 seconds. But memory consumption of broker grows
> permanently. We acquired heap dump, and saw that
> org.apache.activemq.usage.StoreUsage contains 2.7 millions of object with 1.5
> gb. That objects belongs to StoreUsage of queues.
> I don't sure that we uses broker as it should be used. Maybe we shouldn't
> create new queues. But this behavior is stranged for me.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)