-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.2.3.GA
-
None
-
-
+
-
Verified in a release
-
There seems to be a memory leak when creating and deleting temporary queues. When running the following code:
try (QueueSession session = queueConnection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE)) { int numberOfTemporaryQueues = 100; for (int i = 0; i < numberOfTemporaryQueues; i++) { TemporaryQueue temporaryQueue = session.createTemporaryQueue(); temporaryQueue.delete(); } LOG.info("Temporary queues deleted."); } catch (JMSException e) { LOG.error("Error while creating/deleting temporary queues.",e); }
after about 1.5 hours it possible to see large accumulation of TempQueueCleanerUpper class objects. (See attached screen shot)
- is cloned by
-
ENTMQBR-2459 There is a small memory leak in HierarchicalObjectRepository class when creating and deleting temporary queues
- Closed
- is duplicated by
-
ENTMQBR-2458 TempQueueCleanerUpper instances are leaking
- Closed
- relates to
-
JBEAP-16769 [GSS](7.2.z) There is a small memory leak when creating and deleting temporary queues
- Closed