[
https://issues.apache.org/jira/browse/QPID-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221924#comment-14221924
]
ASF subversion and git services commented on QPID-6243:
-------------------------------------------------------
Commit 1641048 from [~godfrer] in branch 'qpid/trunk'
[ https://svn.apache.org/r1641048 ]
QPID-6243 : [Java Broker] Updates to Json configuration stores cause a small
memory leak
> [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]