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

Nick Burch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Nick Burch <[email protected]> ---
The NPOIFSFileSystem constructor that takes an InputStream buffers the whole
file into memory. So, your heap space needs to be at least the size of the
file, plus a bit extra. Nothing we can do to help there - you just have to
increase your heap

Alternately, NPOFSFileSystem has a constructor that takes a File, that has a
much much lower memory footprint as a File allows for Random Access
(InputStream does not)

If you increase your heap to something like 15% bigger than the file, does it
work with an InputStream?

If you switch to a File, does that fix it without a bigger heap?

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