Hi,
The memory you allocate to NiFi will typically be the maximum heap size for the 
Java process. If you spawn a separate Python process then it will not be bound 
by the JVM heap size, so in your example it would come from the 8GB allocated 
for the “system”.

I would recommend if you see high resource usage on the server again you take 
note of which processes are consuming the resources.

Kind regards,
Jim

> On 14 Sep 2022, at 14:18, never more <vkruko...@gmail.com> wrote:
> 
> Hello!
> Can you help me with one question - can't find any information :(
> 
> We have a nifi on my server (16 CPU, 32  RAM), in config our system adm.
> set ram usage for nifi = 24 Gb, rest 8 Gb - for the system.
> In Nifi we execute many Python scripts by using ExecuteStreamCommand (just
> set path of script on server in properties).
> So the question is - which resources  python script uses - Nifi (24 gb) or
> system (8 gb)?
> 
> Maybe its a little stupid question😅, but I am afraid that improper use of
> resources may lead to a service failure,
> because we  already  have several cases of service failure when we noticed
> high utilization of resources (RAM 90-95% and CPU 80-90%)

Reply via email to