poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micofo <pro.coli...@gmail.com>
Subject Re: XSSFWorkbook throws outofMemoryError
Date Wed, 12 Sep 2018 12:10:54 GMT
Hello, 

I think it is not later for you
this snippet of code can help you:

InputStream is = new FileInputStream(new File(myfile.xlxs));
		Workbook workbook = StreamingReader.builder()
		        .rowCacheSize(100)    // number of rows to keep in memory
(defaults to 10)
		        .bufferSize(4096)     // buffer size to use when reading
InputStream to file (defaults to 1024)
		        .open(is); 

//And you continue with your code



--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message