Alex Rudyy created QPID-8156:
--------------------------------
Summary: [Broker-J] Heap memory is leaked on deletion of virtual
host node
Key: QPID-8156
URL: https://issues.apache.org/jira/browse/QPID-8156
Project: Qpid
Issue Type: Improvement
Components: Broker-J
Affects Versions: qpid-java-broker-7.0.3, qpid-java-broker-7.1.0
Reporter: Alex Rudyy
{{SystemNodeRegistry}} of deleted {{VirtualHost}} is still referenced after
virtual host node deletion. It prevents its garbage collection. The reference
to registry is hold by
{{TrustStoreMessageSourceCreator$TrustStoreChangeListener}} which is registered
on broker as part of invocation {{TrustStoreMessageSourceCreator#register}}.
The user impact is minimalistic as it is not expected that virtual host nodes
are often created and deleted in production environment.
Broker restart should resolve the issue.
Steps to reproduce:
# create BDB HA virtual host node
# delete BDB HA virtual host node
# collect heap dump and check references to deleted virtual host node
{noformat}
select * from
org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeImplWithAccessChecking
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]