缓冲增大为200m
This commit is contained in:
@@ -60,7 +60,7 @@ public class ExcelUtils{
|
||||
FileInputStream inp = null;
|
||||
try {
|
||||
inp = new FileInputStream(file);
|
||||
BufferedInputStream bufferedInputStream = new BufferedInputStream(inp, 1024 * 50)
|
||||
BufferedInputStream bufferedInputStream = new BufferedInputStream(inp, 1024 * 200)
|
||||
Workbook workbook = WorkbookFactory.create(bufferedInputStream)
|
||||
workbook.setForceFormulaRecalculation(true)
|
||||
Sheet sheet = workbook.getSheetAt(sheetIndex);
|
||||
|
||||
Reference in New Issue
Block a user