activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Teira (JIRA)" <>
Subject [jira] Created: (AMQ-1319) Topics leaked in DestinationMapNode
Date Thu, 12 Jul 2007 11:22:44 GMT
Topics leaked in DestinationMapNode

                 Key: AMQ-1319
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 4.1.1
         Environment: activemq from svn branch 4.1
Standalone broker running with JDBC persistence and no journal
            Reporter: Manuel Teira
         Attachments: DestinationMapNode-branch-1.4.patch

DestinationMapNode removeAll method is not erasing the given Topic from all the anyChild nodes
it should. This leads to severe memory leaks in situations where a lot of advisory topics
are created (i.e. working with temporary queues).

As this effect is not found in the trunk, I've found that the related code was heavily changed
in r478324. So, I've backported that changes (related with AMQ-1068) to 4.1 branch. I had
to make some additional changes to make the DestinationMapNode class honour the contract if
the new DestinationNode interface as needed for java 1.4.

I'm attaching the patch.

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

View raw message