File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ func (c *Compose) Populate(conf *Config, stack *StackConfig) *Compose {
8686 Image : utils .Str ("utmstack.azurecr.io/logstash:" + conf .Branch ),
8787 Environment : []string {
8888 "CONFIG_RELOAD_AUTOMATIC=true" ,
89- fmt .Sprintf ("LS_JAVA_OPTS=-Xms%dm -Xmx%dm -Xss100m" , LSMem , LSMem ),
89+ fmt .Sprintf ("LS_JAVA_OPTS=-Xms%dm -Xmx%dm -Xss100m" , LSMem / 2 , LSMem / 2 ),
9090 fmt .Sprintf ("PIPELINE_WORKERS=%d" , stack .Threads ),
9191 },
9292 Deploy : & Deploy {
@@ -488,7 +488,7 @@ func (c *Compose) Populate(conf *Config, stack *StackConfig) *Compose {
488488 "compatibility.override_main_response_version:true" ,
489489 "opensearch_security.disabled: true" ,
490490 "path.repo=/usr/share/opensearch" ,
491- fmt .Sprintf ("OPENSEARCH_JAVA_OPTS=-Xms%dm -Xmx%dm" , opensearchMem , opensearchMem ),
491+ fmt .Sprintf ("OPENSEARCH_JAVA_OPTS=-Xms%dm -Xmx%dm" , opensearchMem / 2 , opensearchMem / 2 ),
492492 "network.host:0.0.0.0" ,
493493 },
494494 Logging : & dLogging ,
You can’t perform that action at this time.
0 commit comments