Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Document how to start ES with less RAM #23

Open
stchris opened this issue Nov 6, 2022 · 0 comments
Open

Document how to start ES with less RAM #23

stchris opened this issue Nov 6, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@stchris
Copy link

stchris commented Nov 6, 2022

Suggestion from Slack:

The answer to my question about getting ElasticSearch to start in a docker instance (which disappears immediately when there's an error so you can't connect to it via shell) to use less memory is to add the following to docker_compose.yml in the elasticsearch: -> environment: section:

- ES_JAVA_OPTS=-Xmx4g -Xms4g

Where "4g" represents 4GB of RAM as opposed to the default 16GB.
It would be helpful if the documentation mentioned something about this since not every server may have enough RAM to support that significant default.

@stchris stchris added the documentation Improvements or additions to documentation label Nov 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant