Skip to content

Commit 0759bc4

Browse files
[Opensearch] Increase Opensearch Memory
1 parent 41b8377 commit 0759bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ services:
146146
- cluster.name=os-docker-cluster # Search cluster name
147147
- node.name=gally-search-node # Name the node that will run in this container
148148
- discovery.type=single-node
149-
- OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g # Set min and max JVM heap sizes to at least 50% of system RAM
149+
- OPENSEARCH_JAVA_OPTS=-Xms2g -Xmx2g # Set min and max JVM heap sizes to at least 50% of system RAM
150150
- bootstrap.memory_lock=true # Disable JVM heap memory swapping
151151
- cluster.routing.allocation.disk.threshold_enabled=false # Avoid ES going read-only because low disk space availability
152152
- plugins.ml_commons.only_run_on_ml_node=false

0 commit comments

Comments
 (0)