activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-3041) TemporyQueue will never get unregisterd from JMX which leads to a memory leak
Date Wed, 19 Jan 2011 18:16:44 GMT

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

Norman Maurer updated AMQ-3041:
-------------------------------

    Attachment: AMQ-3041-is-invalid.diff

I just wrote a unit test to see if the issue still exist. I can not reproduce it with latest
trunk. Anyway here is the unit test maybe you want to add it

> TemporyQueue will never get unregisterd from JMX which leads to a memory leak
> -----------------------------------------------------------------------------
>
>                 Key: AMQ-3041
>                 URL: https://issues.apache.org/jira/browse/AMQ-3041
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.4.1, 5.4.2
>         Environment: activemq 5.4.1 and 5.5-SNAPSHOT
>            Reporter: Norman Maurer
>            Assignee: Dejan Bosanac
>             Fix For: 5.5.0
>
>         Attachments: AMQ-3041-is-invalid.diff
>
>
> When you use Session.createTemporaryQueue(...) you will see that the TemporaryQueue will
get added to JMX. Now when you call TemporaryQueue.delete() it will not get delete from JMX.
So when you make heavy use of TemporaryQueues you will see that the entries in JMX will get
bigger and bigger as they will never get removed on delete. This can lead to an OOM very frequently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message