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

--- Comment #5 from Dominik Stadler <[email protected]> ---
Apache POI already tries hard to not allocate too much main memory irrespective
of the actual document.

Maybe the default limits are simply higher than the amount of memory that you
provide to the JVM. 

So you can try to lower some of the settings listed at
https://poi.apache.org/components/configuration.html in your application before
you invoke Apache POI.

If you cannot avoid the OOM this way a sample document and a minimal
reproducing test-case would be interesting so we can try to improve the support
if there are cases left where these safeguards are not kicking in properly.

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