Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2740

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.7.5, 2.8.3, 2.9.0
    • camel-jms
    • None
    • 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.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--CAMEL-2740 Memory Usage.jpg
          339 kB
          David Valeri
        2. CAMEL-2740.tar.gz
          2 kB
          David Valeri

        Activity

          People

            davsclaus Claus Ibsen
            qingyi Qingyi Gu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: