File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 2020## IMPORTANT: JVM heap size
2121################################################################
2222##
23- ## You must always set the initial and maximum JVM heap size to
24- ## the same value. For example, to set the heap to 4 GB, create
25- ## a new file in the jvm.options.d directory containing these
26- ## lines:
23+ ## The heap size is automatically configured by Elasticsearch
24+ ## based on the available memory in your system and the roles
25+ ## each node is configured to fulfill. If specifying heap is
26+ ## required, it should be done through a file in jvm.options.d,
27+ ## and the min and max should be set to the same value. For
28+ ## example, to set the heap to 4 GB, create a new file in the
29+ ## jvm.options.d directory containing these lines:
2730##
2831## -Xms4g
2932## -Xmx4g
3336##
3437################################################################
3538
36- # Xms represents the initial size of the JVM heap
37- # Xmx represents the maximum size of the JVM heap
38-
39- -Xms${heap.min}
40- -Xmx${heap.max}
41-
42-
4339
4440################################################################
4541## Expert settings
You can’t perform that action at this time.
0 commit comments