-
Notifications
You must be signed in to change notification settings - Fork 8
Memory problems in the case of large data volumes!!! #4
Comments
Hi @higher2016 |
The problem we faced was very simple, so we use a simple way to fix it. We just use apache's StringUtil to cute the input string and get the string array. But this solution does not satisfy all situations. My advice is to avoid creating objects inside the methods. If you are interested our test data, we can communicate privately. |
Thanks. Of course I can understand your suggestion and it make sense. |
Thanks. But now Japan is estimated to be at 1 am, pay attention to rest. |
Ah, "a moment" that I meant is few days... |
Create a parser instance at Constructor
Create a parser instance in process method.
|
I‘m no sure if CsvParser is thread safe. And one more question, why the way that Create a parser instance at Constructor use more time? |
Oh, I mistook. that's opposite, so I updated the comment. I shouldn't do something in midnight :p |
CSV parser is not thread safe Closes #4
CSV parser is not thread safe Closes #4
I'm releasing to Sonatype, but Sonatype respond 502 or 504... please wait a release... |
Fixed >= version 7.3.2 |
Hi @higher2016 , |
elasticsearch-ingest-csv/src/main/java/info/johtani/elasticsearch/plugin/ingest/csv/CsvProcessor.java
Line 56 in 1be903f
The text was updated successfully, but these errors were encountered: