Support Questions

Find answers, ask questions, and share your expertise

Setting java memory options via kubernetes yaml

avatar
Expert Contributor

In nifi, we set java memory configurations(Xms, Xmx) in bootstrap.conf.

Is it possible to set it via kubernetes yaml?

I tried with 'args' or with env variable JDK_JAVA_OPTIONS/JAVA_TOOL_OPTIONS , but none works.

1 REPLY 1

avatar
Master Collaborator

Can you please try these two 

NIFI_JVM_HEAP_INIT

NIFI_JVM_HEAP_MAX

 

Thank you