diff options
3 files changed, 3 insertions, 3 deletions
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java index 2612b17692..4e9c89dd37 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java @@ -87,7 +87,7 @@ import org.apache.poi.util.Units; public final class HSLFTextParagraph implements TextParagraph<HSLFShape,HSLFTextParagraph,HSLFTextRun> { private static final Logger LOG = LogManager.getLogger(HSLFTextParagraph.class); - private static final int MAX_NUMBER_OF_STYLES = 10_000; + private static final int MAX_NUMBER_OF_STYLES = 20_000; // Note: These fields are protected to help with unit testing // Other classes shouldn't really go playing with them! 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); |