读取特别大的xlsx文件时, 需要使用StreamingReader, 可以控制JVM内存峰值在200M以内 InputStream is = new FileInputStream(new File(filePath)); StreamingReader reader = StreamingReader.builder() .rowCacheSize(10) // number of rows to keep in memory (defaults to 10) .bufferSize(102