Filip Maretić created NIFI-14942:
------------------------------------

             Summary: [ValidateCSV] Non -terminated quote char can cause OOM
                 Key: NIFI-14942
                 URL: https://issues.apache.org/jira/browse/NIFI-14942
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: 2.5.0
         Environment: any
            Reporter: Filip Maretić


Non terminated quote character can cause OutOfMemoryException. Processor loads 
the entire content into memory in an attempt to find the closing quote 
character.
h2. SUGGESTION

Add a new *Max Lines Per Row* property to limit the number of lines being read. 
This is trivial since the used library SuperCSV already supports this out of 
the box.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to