java.lang.OutOfMemoryError: Java heap space while reading excel with Apache POI
First thing to check – are you opening the XSSFWorkbook with an InputStream or a File? Opening it with a File is much lower memory. Next up, do you want to read or write? If memory is very tight for you, there are alternate options for using XSSF in a sax like way. For reading, … Read more