From 7a070abf910e9a32b34283fca6aa9903276bee0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 23 Oct 2023 21:49:48 +0200 Subject: Limit elasticsearch ram. --- manifests/elasticsearch.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/elasticsearch.pp b/manifests/elasticsearch.pp index 2a9bdd9..38fb0bc 100644 --- a/manifests/elasticsearch.pp +++ b/manifests/elasticsearch.pp @@ -5,5 +5,9 @@ class profiles::elasticsearch ( class { 'elasticsearch': restart_on_change => true, api_host => '0.0.0.0', + jvm_options => [ + '-Xms4g', + '-Xmx4g', + ], } } -- cgit v1.2.3