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

Offline Durable Topic Subscription exceeds memory limits

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.12.0
    • 5.13.0, 5.12.2
    • Broker
    • None

    Description

      To reproduce:
      1) Start two durable subscriptions using the openwire swissarmy examples:

      ant consumer -Dtopic=true -Ddurable=true -Dsubject=test -Duser=admin -Dpassword=admin -Dmax 500000

      ant consumer -Dtopic=true -Ddurable=true -Dsubject=test -Duser=admin -Dpassword=admin -DclientId=c2

      2) Start a producer using the following command:

      ant producer -Dtopic=true -Ddurable=true -Dsubject=test -Duser=admin -Dpassword=admin -Dmax=500000

      3) Kill one of the durable topic subscribers and let the test run

      4) the broker will go OOM

      The cache for the offline durable sub is not recording is cached messages against system memory usage as it should. Hence the limits are not hit.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: