History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: AMQ-1319
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jonas Lim
Reporter: Manuel Teira
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

Topics leaked in DestinationMapNode

Created: 12/Jul/07 04:21 AM   Updated: 24/Jul/07 05:32 AM
Component/s: Broker
Affects Version/s: 4.1.1
Fix Version/s: 4.1.2

Time Tracking:
Not Specified

File Attachments:
  Size
Text File DestinationMapNode-branch-1.4.patch 2007-07-12 04:21 AM Manuel Teira 17 kb
Environment:
activemq from svn branch 4.1
Standalone broker running with JDBC persistence and no journal

Patch Info: Patch Available


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Jonas Lim - 24/Jul/07 05:32 AM
patch applied in 4.1 branch r559023