From 315e47791678853bdbddff88ed2f5b4ada4dbd9c Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 19 Sep 2022 19:15:57 +0100 Subject: [PATCH] Make MaxDirectMemory 0.5*cores --- docker/environment | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/environment b/docker/environment index 7ffcebe..fca15b6 100644 --- a/docker/environment +++ b/docker/environment @@ -38,7 +38,7 @@ druid_metadata_storage_connector_password=FoolishPassword druid_coordinator_balancer_strategy=cachingCost -druid_indexer_runner_javaOptsArray=["-server", "-Xmx1g", "-Xms1g", "-XX:MaxDirectMemorySize=512m", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"] +druid_indexer_runner_javaOptsArray=["-server", "-Xmx1g", "-Xms1g", "-XX:MaxDirectMemorySize=2gb", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"] druid_indexer_fork_property_druid_processing_buffer_sizeBytes=256MiB druid_storage_type=local