From 464a23e027139bf9a82f1bd5dbff5d2a74702c38 Mon Sep 17 00:00:00 2001 From: Pierre Gauthier Date: Tue, 14 May 2024 09:20:01 +0200 Subject: [PATCH] [VectorSearch] Add more RAM to opensearch --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 646efb830..9c60760a7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 @@ -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