Camel
  1. Camel
  2. CAMEL-2740

Using static queue as a reply queue in InOut pattern causes memory leak

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.7.5, 2.8.3, 2.9.0
    • Component/s: camel-jms
    • Labels:
      None
    • Environment:

      Originally reported on Windows 2003 server and recently confirmed on OSX in a stand alone unit test.

      Description

      I am running JBoss, ActiveMQ and Camel for my application. In the InOut pattern, I am using a predefined static queue as a reply queue. After running for a while, the memory usage of JBoss keeps growing and growing until it hits outOfMemory error and app server is totally hung. I monitor the thread in jconsole, I can see the jms connection/session keeps growing and growing.

      But once I switch to use temp queue for InOut pattern, this problem goes away.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Qingyi Gu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development