For nifi, we have jvm options in bootstrap.conf:
java.arg.2=-Xms512m
java.arg.3=-Xmx512m
Then we also have env variables(got to know on google search,not from official documentation) that can be set from outside(like from kubernetes config yaml):
NIFI_JVM_HEAP_INIT
NIFI_JVM_HEAP_MAX
What's the connection between these 2 sets of properties?