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: [email protected]
          Reporter: [email protected]
  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to