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
- duplicates
-
AMQ-2596 Memory leak in network of brokers - the number of ConsumerInfo objects increases
- Resolved