Skip to content

Conversation

@antoinebhs
Copy link
Contributor

@antoinebhs antoinebhs commented Jan 2, 2024

  • Add same environment variables for the embedded elastic search container as in docker-compose.
  • Limit the memory (Xms/Xmx) to 128m because since ES 7.11.0, heap settings are based on node roles and total system memory #65905. Heap memory default values are computed as :
    50% of total system memory when greater than 1 gigabyte up to a maximum of 31 gigabytes
    cf. gridsuite/deployment@42d4372.
    We cannot accept to allocate 16Go for an embedded ES.

* Add same environment variables for the embedded elastic search container as in docker-compose.
* Limit the memory (Xms/Xmx) to 128m.

Signed-off-by: Antoine Bouhours <[email protected]>
Signed-off-by: BOUHOURS Antoine <[email protected]>
@antoinebhs antoinebhs force-pushed the add-es-container-env-vars branch from 84ac12a to 9ece0e0 Compare January 2, 2024 13:18
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 2, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@antoinebhs antoinebhs merged commit 017f692 into main Jan 2, 2024
@antoinebhs antoinebhs deleted the add-es-container-env-vars branch January 2, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants