Closed Krzysztof-Lempicki closed 3 years ago
Hi @Krzysztof-Lempicki,
it is possible like this:
CsvParser parser = null;
try {
parser = new CsvParser(settings);
parser.beginParsing(inputStream, StandardCharsets.UTF_8);
Record record;
while ((record = parser.parseNextRecord()) != null) {
//any operations with record
}
} finally {
if (Objects.nonNull(parser)) {
parser.stopParsing();
}
}
Hi,
Is this lib designed to parse big csv files? (500 - 700MB)
If yes should I use it in some specific way to avoid OutOfMemory?