Rob Godfrey created QPID-6243:
---------------------------------
Summary: [Java Broker] Updates to Json configuration stores cause
a small memory leak
Key: QPID-6243
URL: https://issues.apache.org/jira/browse/QPID-6243
Project: Qpid
Issue Type: Bug
Components: Java Broker
Reporter: Rob Godfrey
Assignee: Rob Godfrey
Every update to a Json configuration store cause a temporary file to be created
which is marked as deleteOnExit(). Unfortunately the names of all these
temporary files are retained by the core Java library so they can be deleted on
exit, even if they have been already deleted by other means. In a long running
broker with frequent changes to the persistent configuration this could
conceivably cause an issue.
The solution is not to use randomly generated temporary file names, but instead
use a fixed file name, and not use deleteOnExit()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]