I'm just upgraded Kibana to 7.12. And I noticed Kibana's memory limit configured at 4GB according to Stack Monitoring.
So then I set the memory limit to 2GB, it was a success. Sometime later, due to web server limitation, I changed Kibana's listen port to 80 and 443 to access Kibana directly without a web server and enabled these configurations to allow Kibana to listen on lower port number:
setcap cap_net_bind_service=+epi /usr/share/kibana/bin/kibana
setcap cap_net_bind_service=+epi /usr/share/kibana/bin/kibana-plugin
setcap cap_net_bind_service=+epi /usr/share/kibana/bin/kibana-keystore
setcap cap_net_bind_service=+epi /usr/share/kibana/bin/kibana-encryption-keys
setcap cap_net_bind_service=+epi /usr/share/kibana/node/bin/node
Then I noticed Kibana's memory limit changed to 4GB again ignored my configuration. I have tried to change the memory limit in:
Even forcing in:
None of them was working. Kibana memory limit still configured at 4GB.
I also tried to delete the memory limit configuration "--max-old-space-size=2048", but still not working.
According to this guidance, Kibana's default memory limit at 1.4GB.
Any suggestion or solution for this issue?