The core JMS client leaks the SimpleString identifiers for temporary destinations. When a temporary JMS destination is created it is added to two lists on ActiveMQConnection, but when it is deleted it is only removed from one list.
public void addTemporaryQueue(final SimpleString queueAddress) { tempQueues.add(queueAddress); knownDestinations.add(queueAddress); } public void removeTemporaryQueue(final SimpleString queueAddress) { tempQueues.remove(queueAddress); }
- is cloned by
-
JBEAP-16034 [GSS](7.2.z) ENTMQBR-2197 - Core JMS client leaks temporary destination names
- Closed
- is related to
-
ENTMQBR-2191 Artemis broker leaks memory when creating temporary queues
- Closed