saarbs created NIFI-12830:
-----------------------------
Summary: Memory leak outside of heap
Key: NIFI-12830
URL: https://issues.apache.org/jira/browse/NIFI-12830
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.22.0
Environment: Openshift
Reporter: saarbs
We run NiFi on Openshift and we are experiencing problems regarding memory
leaks in some of our clusters. we set the max heap size to 50% (6g) of the pod
request and limit (12Gi), and we experience frequent OOM kills almost 4-5 times
a day per pod in our 5 pod cluster.
Using {{top}} we see the process memory usage increases over time until it
reaches twice the heap size and is killed by the Openshift OOM Killer.
Using
{code:java}
jcmd VM.native_memory{code}
we determined that the leak is not in the heap and is not in memory tracked
off-heap.
Then we used {{pmap}} and partial memory dumps of the parts we suspect are part
of the leak.
Inspecting the memory using {{strings}} the notable content is JDI type
signatures, flowfile attributes, and flowfile contents.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)