Read large Excel file .xlsx

人盡茶涼 提交于 2019-12-02 09:32:29
centic

If the input data is too large for the available memory, you have two options.

a) Provide more memory via the -Xmx java command line option

b) Use the Streaming-API of POI.

Option a) will be easy to do if the files eventually fit in memory. If the file is too large for the available physical memory, you will need to take a look at the streaming options, especially the sample XLSX2CSV shows how you can read data from arbitrarily large .xlsx files, albeit with some features that need to access multiple cells not available out of the box.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!