poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59166] New: util TempFile could cause memory leak
Date Fri, 11 Mar 2016 16:32:52 GMT

            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: dev@poi.apache.org
          Reporter: kong.shijun@gmail.com

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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message