Skip to content

Commit

Permalink
[VectorSearch] Add more RAM to opensearch
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGauthier committed May 14, 2024
1 parent ec82325 commit 464a23e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ services:
- cluster.name=os-docker-cluster # Search cluster name
- node.name=opensearch-node-data # Name the node that will run in this container
- bootstrap.memory_lock=true # Disable JVM heap memory swapping
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # Set min and max JVM heap sizes to at least 50% of system RAM
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g" # Set min and max JVM heap sizes to at least 50% of system RAM
- cluster.routing.allocation.disk.threshold_enabled=false # Avoid ES going read-only because low disk space availability
- "DISABLE_SECURITY_PLUGIN=true" # Disable security plugin
- plugins.ml_commons.allow_registering_model_via_url=true
Expand Down Expand Up @@ -163,7 +163,7 @@ services:
- cluster.name=os-docker-cluster # Search cluster name
- node.name=opensearch-node-ml # Name the node that will run in this container
- bootstrap.memory_lock=true # Disable JVM heap memory swapping
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # Set min and max JVM heap sizes to at least 50% of system RAM
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g" # Set min and max JVM heap sizes to at least 50% of system RAM
- cluster.routing.allocation.disk.threshold_enabled=false # Avoid ES going read-only because low disk space availability
- "DISABLE_SECURITY_PLUGIN=true" # Disable security plugin
- node.roles=ml
Expand Down

0 comments on commit 464a23e

Please sign in to comment.