https://issues.apache.org/bugzilla/show_bug.cgi?id=53780

--- Comment #1 from Alex Geller <[email protected]> ---
I think this is a duplicate of bug 53493. All that was said there applies here
too. This patch suffers from the same shortcomings as the patch proposed in
that bug. I vote for a straightforward solution SXSSFWorkbook.dispose() instead
of an implicit destroy-on-write which is not in accordance with the contract
for the function SXSSFWorkbook.write(). The File.deleteOnExit() should be
removed if it indeed leaks in the scenario it is used in SXSSF
(File.deleteOnExit() is needed only if the garbage collector couldn't collect
the sheets by the time the program exits. Are you perhaps keeping references to
your workbooks or sheets that prevent garbage collection and subsequent temp
file deletion?).

-- 
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