Elastic: moved memory limit to environment variable

This allows us to easily change it without rebuilding the Docker image.
This commit is contained in:
2017-09-21 11:38:17 +02:00
parent 8e6fc604e3
commit 98177df7bd
2 changed files with 7 additions and 5 deletions

View File

@@ -19,9 +19,9 @@
# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space
# Sybren: changed from 2g to 512m
-Xms512m
-Xmx512m
# Sybren: uncommented so that we can set those options using the ES_JAVA_OPTS environment variable.
#-Xms512m
#-Xmx512m
################################################################
## Expert settings