ASF Bugzilla – Bug 54790
- Opening succeeds with -Xmx300MB
I repeat: DOC file size is 70MB. Potentially I can cut or put it as is to fileshare.
> And to use TextPiece just as some lightweigh proxy to DocumentStream going to be very ineffective (due to required character encoding-deconding process).
Deferred encoding-deconding is not a problem: the only flag is "unicode=true|false". The problem is that DocumentStream is cut into millions of tiny char buffers.
> Also, disabling preserveTextTable means the whole text is reconstructed into single buffer (StringBuilder).
OOM happens before whole text is reconstructed. I would agree for x3 memory consumption, that is 70MB -> 210MB heap. But x10 is too much. And yes, "preserveTextTable" is disabled by default as far as I can see, unless it is enabled by system property.
This is
ASF Bugzilla
: the Apache Software Foundation bug tracking system
for a variety of projects at the Apache Software Foundation. In case
of problems with the functioning of ASF Bugzilla, please contact
bugzilla-admin@apache.org
.
Please Note:
this e-mail address is
only
for reporting problems
with ASF Bugzilla. Mail about any other subject will be silently
ignored. Not all Apache Software Foundation projects use BugZilla. You may find a more
comprehensive list of issue tracking systems at:
https://issues.apache.org/
.
|
New
|
Browse
|
Search