You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2020/04/28 23:04:53 UTC
[Bug 64387] New: Big POIFS stream result in OOM
https://bz.apache.org/bugzilla/show_bug.cgi?id=64387
Bug ID: 64387
Summary: Big POIFS stream result in OOM
Product: POI
Version: 4.1.x-dev
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: POIFS
Assignee: dev@poi.apache.org
Reporter: kiwiwings@apache.org
Target Milestone: ---
In [1] it was noticed, that encrypting huge streams result in OOMs.
This was due to cached ByteBuffers of NIO channels, which were necessary
because of mmap problems in Windows.
I've introduced now a release method, to unmap buffers, which aren't used
anymore. So unmapping makes only sense in stream like handling, where buffers
aren't revisited anymore.
[1]
https://stackoverflow.com/questions/61463301/apache-poi-throwing-oom-error-when-trying-to-password-protect-modest-sized-xlsx
--
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
[Bug 64387] Big POIFS stream result in OOM
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64387
Andreas Beeker <ki...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
Applied via r1877144
--
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