Kibana HEAP Allocation in k8s/docker

Hi,
I am running kibana in k8s with requests/limits set for cpu & ram. Upper memory limit is 2GB. I'm seeing periodic out of memory errors and am going to raise the upper container limit.

Given that I have been seeing out of heap errors how do I set the max heap so that it matches the container memory limit?

Thx
D

Hi dawiro

Thanks for reaching out to us. Kibana is running on node.js, we don't recommend to change it's memory settings, I'll ask for you what's a recommended minimum memory spec for Kibana
Best,
Matthias

I've asked our operations team, 2GB is usually a good value, you should define the memory in the following way:

NODE_OPTIONS=--max_old_space_size=2048

Best,
Matthias

Does this mean that the guidance to not explicitly set memory options no longer applies? Users are going to become confused...

Thx
D

Yes, you can do that in container context!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.