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

memory leak in ConduitBridge (subscriptionMapByRemoteId)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3.0
    • 5.3.1, 5.4.0
    • None
    • None

    Description

      I believe there is a memory leak in ConduitBridge - looks like DemandSubscriptions are not removed from subscriptionMapByRemoteId when remote RemoveInfo is received.

      removeDemandSubscription normally removes subscription from subscriptionMapByRemoteId in DemanForwardingBridgeSupport, but method is overriden in ConduitBridge and only removes subscription from subscriptionMapByLocalId.

      Leak becomes more significant when consumers are connecting very often (i.e. few connections per second), and bridge connection is stable (lasts for couple of days without reconnecting). MessageConsumer's are not pooled and subscriptions are created and removed often (and forwarded via bridge).

      Attachments

        Issue Links

          Activity

            People

              rajdavies Robert Davies
              mlukica Mario Lukica
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: