Support Questions
Find answers, ask questions, and share your expertise

Separate Heap for Custom Nifi Processors

I was asked this question and thought I knew the answer, but fig I would ask it incase I am mistaken. Custom NiFi processors execute in the main NiFi Java heap/JVM (along with other NiFi processors), there is no existing facility for them (Custom Processors) to execute in their own or separate JVM/Heap? The concern here is a Custom Processor with some type of memory leak (or other issue) potentially taking the entire NiFi system down, is there a way to partition them off to minimize the risk to the rest of the system.

1 REPLY 1

Super Guru

A flowfile hash map (memory) is for all flowfiles activity being used in a flow. if you are concerned by memory leaks, I recommend robust testing. if your node goes down, nifi is data loss resillient.