You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compare 2 excel files with 11680 rows and 17 Columns which never happens and after some time it shows OutOfMemoryException. Please find the stack trace below
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTRowImpl.ge
tCArray(Unknown Source)
at org.apache.poi.xssf.usermodel.XSSFRow.(XSSFRow.java:67)
at org.apache.poi.xssf.usermodel.XSSFSheet.initRows(XSSFSheet.java:238)
at org.apache.poi.xssf.usermodel.XSSFSheet.read(XSSFSheet.java:201)
at org.apache.poi.xssf.usermodel.XSSFSheet.onDocumentRead(XSSFSheet.java
:188)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead(XSSFWorkboo
k.java:378)
at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:166)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:2
41)
at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.ja
va:211)
at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.ja
va:188)
at com.ka.spreadsheet.diff.SpreadSheetDiffer.loadSpreadSheet(SpreadSheet
Differ.java:241)
at com.ka.spreadsheet.diff.SpreadSheetDiffer.doDiff(SpreadSheetDiffer.ja
va:133)
at com.ka.spreadsheet.diff.SpreadSheetDiffer.doDiff(SpreadSheetDiffer.ja
va:102)
at com.ka.spreadsheet.diff.SpreadSheetDiffer.main(SpreadSheetDiffer.java
:90)
**
The text was updated successfully, but these errors were encountered:
I am trying to compare 2 excel files with 11680 rows and 17 Columns which never happens and after some time it shows OutOfMemoryException.
Please find the stack trace below
**
The text was updated successfully, but these errors were encountered: