JAVA - Out Of Memory Error while writing Excel Cells in jxl

前端 未结 2 1474
遥遥无期
遥遥无期 2021-01-16 06:04

I am using JXL to write an excel file of 50000 rows and 30 columns. My code looks like this:

for (int j = 0; j < countOfRows; j++) {

myWritableShe         


        
2条回答
  •  感动是毒
    2021-01-16 06:23

    Is raising the memory available to the VM (with -Xms and -Xmx) not an option?

提交回复
热议问题