You can configure Apache NiFi to suit your needs, by following the Apache NiFi documentation. However, Micro Focus recommends making the following configuration changes.
Micro Focus recommends that you increase the maximum amount of memory that can be used by the Java Virtual Machine (JVM).
To increase the maximum amount of memory for the JVM
conf/bootstrap.conf
in a text editor.java.arg.3=-Xmx512m
.Increase the maximum amount of memory available to the JVM, for example:
java.arg.3=-Xmx2048m
NiFi limits the number of tasks that can run simultaneously, by limiting the number of available threads. Micro Focus recommends that you configure a suitable number of threads for your ingest pipeline and machine specifications.
A NiFi Ingest processor, by default, processes one document at a time. If you want to process multiple documents concurrently, or you have a data flow that includes a large number of processors, the default maximum number of threads might be insufficient.
To choose the maximum number of threads
Click followed by Controller Settings.
The NiFi Settings dialog box opens.
|