Kibana NODE_OPTIONS

Hello everyone,

I'm deploying Elastic Stack environments in containers and I have a question about Kibana and its memory.

In the container of Elasticsearch, it has become clear to me how to manage the memory of Java. In the documentation, I can see that it is recommended to give half of the memory assigned to the container to the heap.

In this particular case, I have an 8GB container and the heap set to -Xms4096m -Xmx4096m.

But in Kibana container I don't know what memory to assign. Reading this section of the documentation is not very clear to me (https://www.elastic.co/guide/en/kibana/7.5/production.html#memory).

I have a 3GB container for Kibana and at first, I had this:

    - name: NODE_OPTIONS
      value: '--max-old-space-size=512'

But I have a feeling I'm not taking advantage of the container's resources. How much memory would you recommend I put in?

Thank you in advance. Best regards,

Alfonso Ruiz-Bravo

Hi and welcome back to our community

Unless you're experiencing problems, it should not be necessary to assign memory to node. It should be fine to use the default.

All the best,
Matthias

Hello Matthias,

Thank you very much for your response.

Regards,

Alfonso