Apache POI Java Excel Performance for Large Spreadsheets

前端 未结 5 1648
陌清茗
陌清茗 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:37

    f you are using Apache POI to generate large excel file, please take note the following line :

    sheet.autoSizeColumn((short) p);

    Because this will degrade the performance.

提交回复
热议问题