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

--- Comment #2 from Javen O'Neal <[email protected]> ---
Nick said in r1753103
> This will fail (with an {@link IllegalStateException} if the
> Workbook was opened read-only, opened from an {@link InputStream}
> instead of a File, or if this is not the root document. For those cases, 
> you must use {@link #write(OutputStream)} to write to a brand new stream.

We urge users to read spreadsheets from a File rather than an InputStream to
reduce memory consumption. Is there any we we could also reduce memory
consumption by writing a File instead of an OutputStream?

I noticed a significant performance improvement when writing to a
BufferedOutputStream(FileOutputStream) on a network drive (Windows share). We
should be cognizant of that, either in the code or as a disclaimer in the
JavaDocs.

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