Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-2290

Memory leak in SelectorParser LRUCache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3.0
    • 5.3.0
    • Selector
    • None

    Description

      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.

      Attachments

        1. selectorparser-leak.png
          153 kB
          Chetan Sarva
        2. SelectorParser.jj.patch
          0.5 kB
          Chetan Sarva

        Activity

          People

            gtully Gary Tully
            chetansarva Chetan Sarva
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: