Embedded Artemis broker leaks memory when creating/deleting temporary destinations

Solution Unverified - Updated

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7

Issue

  • Embedded Artemis broker leaks memory when using temporary queues or topics.

Resolution

Apply EAP 7.2 CP1

Root Cause

The issue is caused by two bugs:
Content from issues.jboss.org is not included.JBEAP-16034
Content from issues.jboss.org is not included.JBEAP-16203

The leak is caused when JSM connection is kept open for a very long time and never closed. Even if the queue is deleted some of its internal properties, like names, are not being deleted. Also when the temporary destinations was removed from internal list of destinations it was inserted back through a callback mechanism.

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.