-
Bug
-
Resolution: Duplicate
-
Critical
-
AMQ 7.2.0.GA
-
None
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)
- duplicates
-
ENTMQBR-2451 There is a small memory leak when creating and deleting temporary queues
- Closed