From a290d81eabe60998ab84ac74a45489f8880b68d0 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 22 May 2026 22:39:10 +0200 Subject: [PATCH] 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) --- .github/workflows/pull-db-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pull-db-tests.yml b/.github/workflows/pull-db-tests.yml index e4de01e711a..1a3ce400352 100644 --- a/.github/workflows/pull-db-tests.yml +++ b/.github/workflows/pull-db-tests.yml @@ -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: