Camel
  1. Camel
  2. CAMEL-4657

camel-jms - Request/Reply - Leak in ActiveMQSessionPool causing it to eat up memory, when using fixed replyTo queue names

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: camel-jms
    • Labels:
    • Estimated Complexity:
      Advanced

      Description

      See nabble
      http://camel.465427.n5.nabble.com/Possible-memory-leak-in-org-apache-activemq-pool-PooledSession-tp4964951p4964951.html

      This bug is in ActiveMQ, but creating a ticket to get it resolved as the leak is apparent when using Spring DMLC with CACHE_SESSION, which Camel by default does when doing request/reply over JMS with fixed replyTo queues.

      Then the consumer is not cached, and therefore created on each poll, but the ActiveMQSessionPool keeps growing in its internal list of created consumers, as the session is cached.

      Most likely a patch is needed to fix this in the AMQ side

        Issue Links

          Activity

          Claus Ibsen created issue -
          Claus Ibsen made changes -
          Field Original Value New Value
          Link This issue depends upon AMQ-3588 [ AMQ-3588 ]
          Hide
          Claus Ibsen added a comment -

          This was a bug in ActiveMQ which has been fixed in the upcoming AMQ 5.6 release.

          Show
          Claus Ibsen added a comment - This was a bug in ActiveMQ which has been fixed in the upcoming AMQ 5.6 release.
          Claus Ibsen made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.9.0 [ 12316374 ]
          Resolution Fixed [ 1 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          21h 29m 1 Claus Ibsen 11/Nov/11 08:34

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development