elastic / ansible-elastic-cloud-enterprise

Ansible playbooks for Elastic Cloud Enterprise (ECE)
https://www.elastic.co/products/ece
Other
59 stars 61 forks source link

Not setting allocator memory #112

Open dizlajk opened 3 years ago

dizlajk commented 3 years ago

This is more of a question.. Why are you not setting allocator memory here? https://github.com/elastic/ansible-elastic-cloud-enterprise/blob/d021fd0a619f3777d2e6a51e08bd0a1ba07b5baa/tasks/ece-bootstrap/main.yml#L27

You set a variable here: https://github.com/elastic/ansible-elastic-cloud-enterprise/blob/d021fd0a619f3777d2e6a51e08bd0a1ba07b5baa/defaults/main.yml#L22

abhi2v commented 3 years ago

I'm seeing this issue as well. even though I updated my bootstrap/main.yml to add "allocator":{"xms":"4G","xmx":"4G"} in the memory_settings variable, the install script is still creating the docker container with only 1 GB (default). Is there a recommended fix for this that we can implement?