|
Noel J. Bergman made changes - 02/Aug/06 07:18 PM
I'm still seeing it ... need to find out why.
Noel J. Bergman made changes - 02/Aug/06 08:03 PM
Noel J. Bergman made changes - 02/Aug/06 08:04 PM
Current status:
1) After applying r428097, even though some files appear to leak, they are deleted when the JVM terminates. 2) A private build, using a copy of org.apache.commons.io.FileCleaner, does not appear to leak files at all during runtime. I will continue to test to see if the FileCleaner solution, which was written for just this purpose, resolves the issue. Stefano had another though, involving changing
MimeMessageInputStreamSource.getInputStream from: return new SharedFileInputStream(file); to return new BufferedInputStream(new FileInputStream(file));
NOW I am closing this issue. :-) The changes in r428404 appear to have done the trick, and r428480 backs out some of the earlier changes.
Noel J. Bergman made changes - 03/Aug/06 11:55 PM
Noel J. Bergman made changes - 03/Aug/06 11:55 PM
This bug is still not fixed. Stefano has a idea.. so i assign it to him ;-)
Norman Maurer made changes - 04/Aug/06 10:44 AM
Norman, you reopened the wrong bug ;-)
Stefano Bagnara made changes - 04/Aug/06 01:05 PM
Closing issue fixed in released version.
Danny Angus made changes - 21/Nov/07 08:31 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
An alternative would have been to incorporate the FileCleaner from Commons I/O, which is used for the same purpose in Commons FileUpload.