Closed abdel-aouby closed 5 months ago
Hi @abdel-aouby
You can set the minimum and maximum heap size to an appropriate value in your compose.yaml
file. For example, to limit Elasticsearch to 8GB of memory:
- "ES_JAVA_OPTS=-Xms8g -Xmx8g"
Hi @YevhenZvieriev it works fine I had an old version of the project that did not contain this value, thank you for your help I'm closing the issue.
Description I'm on UBUNTU 24.04 with the docker engine and not the docker desktop
Elasticsearch container uses a lot of memory. This may be a wrong configuration of docker on my part. please I will need help with that if possible. My machine has 32 G of memory, and the Elasticsearch is using about half of it (this does not happen to me with other projects on the same machine)
Steps To Reproduce
Expected Result Elasticsearch container does not consume too much memory when runing
Actual Result Elasticsearch container using a lot of memory (more than 50%)