How to load a large xlsx file with Apache POI?
问题 I have a large .xlsx file (141 MB, containing 293413 lines with 62 columns each) I need to perform some operations within. I am having problems with loading this file ( OutOfMemoryError ), as POI has a large memory footprint on XSSF (xlsx) workbooks. This SO question is similar, and the solution presented is to increase the VM's allocated/maximum memory. It seems to work for that kind of file-size (9MB), but for me, it just simply doesn't work even if a allocate all available system memory.