aboutsummaryrefslogtreecommitdiffstats
path: root/poi
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2022-01-06 11:10:33 +0000
committerDominik Stadler <centic@apache.org>2022-01-06 11:10:33 +0000
commitf331af5a52a8d703b2c3b17f8ea01d3f903d0114 (patch)
treea742957711a4e9eb9942dc0392c89bc3cd04108e /poi
parent729d78cda69e489a40f33d8e6c0056c4f4758099 (diff)
downloadpoi-f331af5a52a8d703b2c3b17f8ea01d3f903d0114.tar.gz
poi-f331af5a52a8d703b2c3b17f8ea01d3f903d0114.zip
Increase new limits for files processed in the mass-regression-tests
Some valid test-files do trigger these limits, which indicates that we should set them a bit higher git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896745 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r--poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java2
-rw-r--r--poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java b/poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java
index 3384019fea..e0b8d54d45 100644
--- a/poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java
+++ b/poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java
@@ -35,7 +35,7 @@ public final class RecordFactory {
private static final int NUM_RECORDS = 512;
// how many records we read at max by default (can be adjusted via IOUtils)
- private static final int MAX_NUMBER_OF_RECORDS = 1_000_000;
+ private static final int MAX_NUMBER_OF_RECORDS = 2_000_000;
private RecordFactory() {}
diff --git a/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java b/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
index 6194efab28..b9e85c08c0 100644
--- a/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
+++ b/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
@@ -64,7 +64,7 @@ public class POIFSFileSystem extends BlockStore
private static final int DEFAULT_MAX_RECORD_LENGTH = 100_000;
private static int MAX_RECORD_LENGTH = DEFAULT_MAX_RECORD_LENGTH;
- private static final int MAX_ALLOCATION_SIZE = 100_000_000;
+ private static final int MAX_ALLOCATION_SIZE = 250_000_000;
private static final Logger LOG = LogManager.getLogger(POIFSFileSystem.class);