Apache POI Java Excel Performance for Large Spreadsheets

前端 未结 5 1678
陌清茗
陌清茗 2020-12-31 07:27

I have a spreadsheet I\'m trying to read with POI (I have both xls and xlsx formats), but in this case, the problem is with the xls file. My spreadsheet has about 10,000 row

5条回答
  •  臣服心动
    2020-12-31 07:36

    If you are using Apache POI to generate large excel file, please take note the sheet.autoSizeColumn((short) p); line because this will impact the performance.

    http://stanicblog.blogspot.sg/2013/07/generate-large-excel-report-by-using.html

提交回复
热议问题