Skip to content
Snippets Groups Projects
Commit 2b529a29 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

fix: Increase default JVM min/max memory to 1g/4g - fix OutOfMemory error

parent effa88a1
No related branches found
No related tags found
No related merge requests found
Pipeline #33259 failed
...@@ -13,10 +13,10 @@ fi ...@@ -13,10 +13,10 @@ fi
ES_CLASSPATH="$ES_HOME/lib/elasticsearch-2.4.6.jar:$ES_HOME/lib/*" ES_CLASSPATH="$ES_HOME/lib/elasticsearch-2.4.6.jar:$ES_HOME/lib/*"
if [ "x$ES_MIN_MEM" = "x" ]; then if [ "x$ES_MIN_MEM" = "x" ]; then
ES_MIN_MEM=256m ES_MIN_MEM=1g
fi fi
if [ "x$ES_MAX_MEM" = "x" ]; then if [ "x$ES_MAX_MEM" = "x" ]; then
ES_MAX_MEM=1g ES_MAX_MEM=4g
fi fi
if [ "x$ES_HEAP_SIZE" != "x" ]; then if [ "x$ES_HEAP_SIZE" != "x" ]; then
ES_MIN_MEM=$ES_HEAP_SIZE ES_MIN_MEM=$ES_HEAP_SIZE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment