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
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceede
d
at java.util.regex.Matcher.(Unknown Source)
at java.util.regex.Pattern.matcher(Unknown Source)
at org.apache.poi.xssf.usermodel.XSSFRichTextString.utfDecode(XSSFRichTe
xtString.java:481)
at org.apache.poi.xssf.usermodel.XSSFRichTextString.getString(XSSFRichTe
xtString.java:297)
at org.apache.poi.xssf.usermodel.XSSFCell.getStringCellValue(XSSFCell.ja
va:247)
at com.ka.spreadsheet.diff.CellExcel.getStringValue(SpreadSheetExcel.jav
a:152)
at com.ka.spreadsheet.diff.CellPos.getStringValue(CellPos.java:34)
at com.ka.spreadsheet.diff.SpreadSheetDiffer.doDiff(SpreadSheetDiffer.ja
va:99)
at com.ka.spreadsheet.diff.SpreadSheetDiffer.doDiff(SpreadSheetDiffer.ja
va:61)
at com.ka.spreadsheet.diff.SpreadSheetDiffer.main(SpreadSheetDiffer.java
:54)
BTW...Each file was 1.74MB in size. Only one cell was different in the row 5 for me to test it. It provided the output difference and then my computer's fan kicked in right before getting this error. Computer has 32GB of RAM.
The text was updated successfully, but these errors were encountered:
Yes unfortunately it reads in the whole spreadsheets in memory before starting diff. Haven't spent any time to trying to figure out if we can read the files in chunks. With 4GB you must have really large files ?!
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceede
d
at java.util.regex.Matcher.(Unknown Source)
at java.util.regex.Pattern.matcher(Unknown Source)
at org.apache.poi.xssf.usermodel.XSSFRichTextString.utfDecode(XSSFRichTe
xtString.java:481)
at org.apache.poi.xssf.usermodel.XSSFRichTextString.getString(XSSFRichTe
xtString.java:297)
at org.apache.poi.xssf.usermodel.XSSFCell.getStringCellValue(XSSFCell.ja
va:247)
at com.ka.spreadsheet.diff.CellExcel.getStringValue(SpreadSheetExcel.jav
a:152)
at com.ka.spreadsheet.diff.CellPos.getStringValue(CellPos.java:34)
at com.ka.spreadsheet.diff.SpreadSheetDiffer.doDiff(SpreadSheetDiffer.ja
va:99)
at com.ka.spreadsheet.diff.SpreadSheetDiffer.doDiff(SpreadSheetDiffer.ja
va:61)
at com.ka.spreadsheet.diff.SpreadSheetDiffer.main(SpreadSheetDiffer.java
:54)
BTW...Each file was 1.74MB in size. Only one cell was different in the row 5 for me to test it. It provided the output difference and then my computer's fan kicked in right before getting this error. Computer has 32GB of RAM.
The text was updated successfully, but these errors were encountered: