csv - SUPERCSV OutOfMemoryError: Java heap space in CsvListReader -


i know question being asked before limit csvlistreader 1 line

i facing same issue, can please tell me changes made tokenizer overcome issue...

in case occurring in different line number everytime, not consistent.sometimes occurs @ line 5000 of csv , other time occur @ 6000 if go debug mode , step on code 1 one never occurs. can me issue.

pardon me asking same question again, can't seem find solution on own.

one of csv line @ throws error "???" japanese text

"ci","1","2014-04-01","bmw","","","","","","3","528","",0,0,"","","c","","","1","f","1"," 8"," 8",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"","","0301","bmw","","7","","5","","5","","8","7","5","5","8","","","","","","","","0","0","???","bmw","???","???","???","???","???","???","???","???","","","","","","","","","","","","","???","bmw","???","???","???","???","???","???","???","???","","","","","","","","","","","","","","","",0,0,0,"0","0","0","2014-04-02","09:34:35","90002","082r"

other this

"ci","1","2014-04-01","bmw","","","","","","3","633","",0,0,"","","c","","","1","f","1"," 8"," 8",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"",0,0,0,0,0,0,0,0,"","","0301","bmw","","7","","4","","5","","8","7","4","5","8","","","","","","","","0","0","???","bmw","???","???","???","???","???","???","???","???","","","","","","","","","","","","","???","bmw","???","???","???","???","???","???","???","???","","","","","","","","","","","","","","","",0,0,0,"0","0","0","2014-04-02","09:34:35","15762","082r"

this line seems formated yet throws error

caused by: java.lang.outofmemoryerror: java heap space @ java.lang.abstractstringbuilder.expandcapacity(abstractstringbuilder.java:99) @ java.lang.abstractstringbuilder.append(abstractstringbuilder.java:575) @ java.lang.stringbuilder.append(stringbuilder.java:204) @ org.supercsv.io.tokenizer.readcolumns(tokenizer.java:106) @ org.supercsv.io.abstractcsvreader.readrow(abstractcsvreader.java:179) @ org.supercsv.io.csvlistreader.read(csvlistreader.java:69)


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -