-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
2.3.4.Final
-
None
Usage of the multipart provider causes a memory leak as the underlying mime4j implementation uses the File#deleteOnExit hook in the class TempFileStorageProvider:
public StorageOutputStream createStorageOutputStream() throws IOException { File file = File.createTempFile(prefix, suffix, directory); file.deleteOnExit(); return new TempFileStorageOutputStream(file); }