posted 1 year ago
Hi ,
I am getting error org.apache.poi.EmptyFileException: The supplied file was empty (zero bytes long) after 4 lakh records in excel file writing.
I am using apache poi and i have 10 million records to write. I am running a job to write to the excel file. the chunk size is 1000.
The file gets created on drive but after reaching 4 lakh rows, the xlsx file shows its corrupt.
Please help.
Staff note
(Ron McLeod)
:
4 lakh = 400,000 (four hundred thousand)