Skip to content

Commit 2c20ce5

Browse files
authored
Build: set ES_JAVA_OPTS for jvmRunLocal and jvmRunLocalDebug (#602)
1 parent 956cdfc commit 2c20ce5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Taskfile.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,15 @@ tasks:
198198

199199
jvmRunLocal:
200200
desc: Run a local Elasticsearch cluster with the plugin using SBT
201+
env:
202+
ES_JAVA_OPTS: "-Xms4g -Xmx4g"
201203
cmds:
202204
- sbt -client elastiknn-plugin/elasticsearchPluginRun
203205

204206
jvmRunLocalDebug:
205207
desc: Run a local Elasticsearch cluster in debug mode with the plugin using SBT
208+
env:
209+
ES_JAVA_OPTS: "-Xms4g -Xmx4g"
206210
cmds:
207211
- sbt -client elastiknn-plugin/elasticsearchPluginDebug
208212

0 commit comments

Comments
 (0)