Search code examples
javaexcelperformancejxls

Limit number of rows in memory with JXLS


I would like to use a library for reading xls files, JXLS looks very useful as the mapping can be configured in an XML file.

In the case I have a performance issue with very large files, is it possible to limit the number of rows in memory so that the file is read N rows at a time ?

Thanks.


Solution

  • This feature requires event based approach for reading excel files and it is currently unsupported.

    You can raise an improvement in the jxls-reader issue tracker