activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Sarva (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2290) Memory leak in SelectorParser LRUCache
Date Thu, 18 Jun 2009 19:33:35 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52359#action_52359
] 

Chetan Sarva commented on AMQ-2290:
-----------------------------------

We've been hitting it with traffic for about 5 hours and it so far looks great. We previously
saw memory consumption jump after just an hour or two. 

> Memory leak in SelectorParser LRUCache
> --------------------------------------
>
>                 Key: AMQ-2290
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2290
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Selector
>    Affects Versions: 5.3.0
>            Reporter: Chetan Sarva
>            Assignee: Gary Tully
>         Attachments: selectorparser-leak.png, SelectorParser.jj.patch
>
>
> 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.


Mime
View raw message