You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2022/01/08 11:48:09 UTC

svn commit: r1896833 - /poi/site/publish/components/configuration.html

Author: fanningpj
Date: Sat Jan  8 11:48:09 2022
New Revision: 1896833

URL: http://svn.apache.org/viewvc?rev=1896833&view=rev
Log:
update config docs

Modified:
    poi/site/publish/components/configuration.html

Modified: poi/site/publish/components/configuration.html
URL: http://svn.apache.org/viewvc/poi/site/publish/components/configuration.html?rev=1896833&r1=1896832&r2=1896833&view=diff
==============================================================================
--- poi/site/publish/components/configuration.html (original)
+++ poi/site/publish/components/configuration.html Sat Jan  8 11:48:09 2022
@@ -325,6 +325,20 @@ document.write("Last Published: " + docu
         
 <tr>
           
+<td colspan="1" rowspan="1"><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 colspan="1" rowspan="1">If this value is set to &gt; 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 colspan="1" rowspan="1"><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: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org