You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2014/11/22 12:49:33 UTC
[jira] [Created] (QPID-6243) [Java Broker] Updates to Json
configuration stores cause a small memory leak
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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org