mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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
This commit is contained in:
parent
729d78cda6
commit
f331af5a52
@ -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!
|
||||
|
||||
@ -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() {}
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user