Author: fanningpj
Date: Sat Jan 8 11:46:32 2022
New Revision: 1896832
URL: http://svn.apache.org/viewvc?rev=1896832&view=rev
Log:
update config docs
Modified:
poi/site/src/documentation/content/xdocs/components/configuration.xml
Modified: poi/site/src/documentation/content/xdocs/components/configuration.xml
URL:
http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/components/configuration.xml?rev=1896832&r1=1896831&r2=1896832&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/components/configuration.xml
(original)
+++ poi/site/src/documentation/content/xdocs/components/configuration.xml Sat
Jan 8 11:46:32 2022
@@ -53,6 +53,17 @@
</tr>
<tr>
+ <td><a
href="https://poi.apache.org/apidocs/5.0/org/apache/poi/util/IOUtils.html#setByteArrayMaxOverride-int-">
+ org.apache.poi.util.IOUtils.setByteArrayMaxOverride(int
maxOverride)</a>
+ </td>
+ <td>If this value is set to > 0, IOUtils.safelyAllocate(long, int)
will ignore the maximum record length parameter.
+ This is designed to allow users to bypass the hard-coded maximum
record lengths if they are willing to accept the risk of allocating memory up
to the size specified.
+ It also allows to impose a lower limit than used for very memory
constrained systems.
+ Note: This is a per-allocation limit and does not allow you to
limit overall sum of allocations! Use -1 for using the limits specified per
record-type.
+ </td>
+ </tr>
+
+ <tr>
<td><a
href="https://poi.apache.org/apidocs/5.0/org/apache/poi/openxml4j/util/ZipSecureFile.html#setMinInflateRatio-double-">
org.apache.poi.openxml4j.util.ZipSecureFile.setMinInflateRatio(double ratio)</a>
</td>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]