diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-23 21:49:48 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-23 22:23:49 +0200 |
commit | 7a070abf910e9a32b34283fca6aa9903276bee0a (patch) | |
tree | bdc37d25874b0765ba588ea3ebb6299a0a9c5cf5 /manifests | |
parent | Made default domains for certificate configurable. (diff) | |
download | profiles-7a070abf910e9a32b34283fca6aa9903276bee0a.tar.gz profiles-7a070abf910e9a32b34283fca6aa9903276bee0a.tar.xz |
Limit elasticsearch ram.
Diffstat (limited to '')
-rw-r--r-- | manifests/elasticsearch.pp | 4 |
1 files changed, 4 insertions, 0 deletions
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', + ], } } |