Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2711

ServerSessionImpl cache does not clear names of deleted temporary destinations & there's no limit on producer target cache

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • AMQ 7.4.2.GA
    • AMQ 7.2.3.GA
    • broker-core
    • None
    • Release Notes
    • +
    • Previously, when you created and deleted temporary queues, the broker did not remove the queue names from the internal `ServerSessionImpl` cache. Over time, this data accumulated, causing a memory leak. This issue is now resolved.
    • Documented as Resolved Issue
    • Verified in a release
    • Hide
      • build the attached test case with command "mvn clean package"
      • deploy test case in JBoss EAP 7.2.2
      • run command
        while true; do sleep 0; curl http://jess:8080/my-test-case-1.0-SNAPSHOT/jms/service/produceAndConsumeMessage; echo -e '\n\n\n\n'$(date);done
        
      Show
      build the attached test case with command "mvn clean package" deploy test case in JBoss EAP 7.2.2 run command while true; do sleep 0; curl http://jess:8080/my-test-case-1.0-SNAPSHOT/jms/service/produceAndConsumeMessage; echo -e '\n\n\n\n'$(date);done

      Where creating and deleting temporary queues their names are not removed from internal cache which leads to memory leak.

        1. my-test-case.zip
          88 kB
        2. mem-leak.png
          mem-leak.png
          1.39 MB

              rhn-support-jbertram Justin Bertram
              rhn-support-toross Tom Ross
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: