https://bz.apache.org/bugzilla/show_bug.cgi?id=59166

            Bug ID: 59166
           Summary: util TempFile could cause memory leak
           Product: POI
           Version: 3.13-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
          Assignee: [email protected]
          Reporter: [email protected]

Currently implementation will register not only temp directory, but also
individual files to java.io.DeleteOnExitHook via java.io.File#deleteOnExit

For some long running applications which generate tons of files via POI, it
will create huge garbage to the hook, even the actual temp files have already
been deleted. 

Today, there is only one system property flag "poi.keep.tmp.files". If turn
off, both temp directory and temp files won't be deleted on exit. Can we always
ignore files, and only register temp directory?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to