ci: cap Elasticsearch heap in db-tests (#37816)

Elasticsearch JVM heap defaults to ~50% of detected host RAM, typically
way too much for our little tests and it starved the other runner
processes from memory.

Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
This commit is contained in:
silverwind
2026-05-22 22:39:10 +02:00
committed by GitHub
parent 570173b409
commit a290d81eab

View File

@@ -119,6 +119,7 @@ jobs:
env:
discovery.type: single-node
xpack.security.enabled: false
ES_JAVA_OPTS: "-Xms512m -Xmx512m" # reduce from ES default of 50%
ports:
- "9200:9200"
meilisearch:
@@ -192,6 +193,7 @@ jobs:
env:
discovery.type: single-node
xpack.security.enabled: false
ES_JAVA_OPTS: "-Xms512m -Xmx512m" # reduce from ES default of 50%
ports:
- "9200:9200"
smtpimap: