poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58480] HSSFWorkbook.write(OutputStream) does not close the NPOIFSFileSystem in use
Date Tue, 06 Oct 2015 20:58:17 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58480

--- Comment #8 from Kasper Sørensen <i.am.kasper.sorensen@gmail.com> ---
The crazy thing is that if I add:

  System.gc();
  System.runFinalization();
  Thread.sleep(2000);

Just after the Workbook.write(...) call, then it never happens! This tells me
that _something_ must rely on garbage collection/finalization.

I see that RandomAccessFile is used internally in POI, and I have little
experience with that. Don't know if something could still be holding on to it?

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


Mime
View raw message