[MIMEPULL-13] Use of File.deleteOnExit leaks memory - Java.net JIRA
The method MemoryData.createNext calls File.deleteOnExit. Unfortunately, this permanently adds an entry to a list of files. In our long running server application, the end result is a significant memory leak.
In our case, we don't have much use for this call to deleteOnExit anyway, as our system already cleans up all temporary files when the server stops. So if there is no better way, I would request a simple system property to disable this call.
Read full article from [MIMEPULL-13] Use of File.deleteOnExit leaks memory - Java.net JIRA
No comments:
Post a Comment