Hi,
I have an excel file with 1 lakh rows and 250 columns. I want to read 25k rows at a time using range.
But, the XLWorkbook throws an OutOfMemoryException in the line where it opens the workbook, even before it tries to read the range.
var workBook= new XLWorkbook("Book1Lakh.xlsx");
Is there any workaround to solve my problem, preferably could you provide me with a sample code?
Comments: ** Comment from web user: ThiagoGrandesso **
I have an excel file with 1 lakh rows and 250 columns. I want to read 25k rows at a time using range.
But, the XLWorkbook throws an OutOfMemoryException in the line where it opens the workbook, even before it tries to read the range.
var workBook= new XLWorkbook("Book1Lakh.xlsx");
Is there any workaround to solve my problem, preferably could you provide me with a sample code?
Comments: ** Comment from web user: ThiagoGrandesso **
I´m facing this problem too.
When I use this line of code to open the excel file it throws an exception.
Have you found the problem´s cause? Please, let us know if you solve this issue.
XLWorkbook wb = new XLWorkbook(fileName);
Could you help please?