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

Document how to start ES with less RAM #23

@stchris

Description

@stchris

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions