From 5f09d1933f44cc914d4663874bc2ef47a5579340 Mon Sep 17 00:00:00 2001 From: Alex Klibisz <8015228+alexklibisz@users.noreply.github.com> Date: Sun, 26 Nov 2023 10:43:29 -0800 Subject: [PATCH] Build: set ES_JAVA_OPTS for jvmRunLocal and jvmRunLocalDebug --- Taskfile.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Taskfile.yaml b/Taskfile.yaml index a30d8b87c..a719301dc 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -198,11 +198,15 @@ tasks: jvmRunLocal: desc: Run a local Elasticsearch cluster with the plugin using SBT + env: + ES_JAVA_OPTS: "-Xms4g -Xmx4g" cmds: - sbt -client elastiknn-plugin/elasticsearchPluginRun jvmRunLocalDebug: desc: Run a local Elasticsearch cluster in debug mode with the plugin using SBT + env: + ES_JAVA_OPTS: "-Xms4g -Xmx4g" cmds: - sbt -client elastiknn-plugin/elasticsearchPluginDebug