activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Sarva (JIRA)" <>
Subject [jira] Commented: (AMQ-2290) Memory leak in SelectorParser LRUCache
Date Mon, 15 Jun 2009 17:20:35 GMT


Chetan Sarva commented on AMQ-2290:

Sorry, I should have captured the column headers as well. The 3 columns are: shallow heap
(bytes), retained heap (bytes), and percentage. I don't believe there are multiple instances
of the LRUCache itself in this case, however there are 650,113 entries in the map. 

> Memory leak in SelectorParser LRUCache
> --------------------------------------
>                 Key: AMQ-2290
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Selector
>    Affects Versions: 5.3.0
>            Reporter: Chetan Sarva
>         Attachments: selectorparser-leak.png
> There appears to be a memory leak in the LRUCache used by the SelectorParser. We have
a simple selector-based request/response implementation which means we create a new selector
on every request and these appear to be sticking around despite the use of an LRUCache with
a 10,000 entry limit. A quick look at the LRUCache code didn't reveal any obvious problems,
so I'm not sure what's going on here. For the time being we are rolling back to 5.2. 

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

View raw message