[ https://issues.apache.org/jira/browse/CSV-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495012#comment-17495012 ]
Gary D. Gregory edited comment on CSV-289 at 9/19/24 7:06 PM: -------------------------------------------------------------- When you parse a file, it is consumed one record at a time. If you have an issue, report it here or on the user's mailing list. was (Author: garydgregory): Please post to the user's mailing list. > Memory usage > ------------ > > Key: CSV-289 > URL: https://issues.apache.org/jira/browse/CSV-289 > Project: Commons CSV > Issue Type: Improvement > Reporter: Pruteanu Dragos > Priority: Major > > I intend to use the CSV parser to parse text lines from a file, separate ( > not in a row ). This is intended for an editor for large CSV files, where > only the visible lines are parsed. > Is it possible to somehow parse only a line of text, without initializing the > parser each time? I ask this in order to reduce the number of created objects > in Java. > Like for example > ``` > CSVParser parser = new CSVParser(); > parser.parse(line1); > parser.reset(); > parser.parse(line2); > `` -- This message was sent by Atlassian Jira (v8.20.10#820010)