The default installation of Elasticsearch is configured with a 1gb heap. For just about every deployment, this number is far too small. If you are using the default heap values, your cluster is probably configured incorrectly. There are two ways to change the heap size in Elasticsearch. The easiest is to set an environment variable called ES_HEAP_SIZE . When the server process starts, it will read this environment variable and set the heap accordingly. As an example, you can set it via the command line with: export ES_HEAP_SIZE=10g Alternatively,
Read full article from Heap: Sizing and Swapping
No comments:
Post a Comment