Default es_heap_size
This commit is contained in:
parent
661ec80447
commit
349fd36f15
1 changed files with 9 additions and 1 deletions
|
|
@ -18,9 +18,17 @@
|
|||
|
||||
# Xms represents the initial size of total heap space
|
||||
# Xmx represents the maximum size of total heap space
|
||||
|
||||
{% if es_heap_size is defined %}
|
||||
-Xms{{ es_heap_size }}
|
||||
{% else %}
|
||||
-Xms2g
|
||||
{% endif %}
|
||||
|
||||
{% if es_heap_size is defined %}
|
||||
-Xmx{{ es_heap_size }}
|
||||
{% else %}
|
||||
-Xms2g
|
||||
{% endif %}
|
||||
|
||||
################################################################
|
||||
## Expert settings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue