When I configure Replacetext and RouteOnAttribute processors to execute concurrent tasks, I am getting Java heap outOfMemory issue. If I configure them to execute 1 task and no concurrent tasks, it goes fine but delaying my data flow with flow files being queued up. I would like to fine tune these processors such that I can manage to perform tasks concurrently and make my data flow perform faster.
Can I get help in understanding how to configure these processors with sample resouce configuration of 16GB RAM and unlimited ROM.
ReplaceText processor configuration:
ReplaceText processor error:
How much memory have you allocated to your NiFi JVM? The default is 512MB, did you change it in the bootstrap.conf file?
For the RouteOnAttribute processor, one concurrent task, run schedule of zero seconds, should be able to keep up with the output from the ExtractText processor.