From f1775d0b7e8aede496934ad1a23e8d7752cf4cf1 Mon Sep 17 00:00:00 2001 From: Suyog Rao Date: Mon, 16 Nov 2015 19:59:12 -0800 Subject: [PATCH] Update comment about location Fixes #4205 --- bin/logstash.lib.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/logstash.lib.sh b/bin/logstash.lib.sh index b1e86e065..f006387ed 100755 --- a/bin/logstash.lib.sh +++ b/bin/logstash.lib.sh @@ -37,8 +37,7 @@ setup_java() { JAVA_OPTS="$JAVA_OPTS -XX:+UseCMSInitiatingOccupancyOnly" # Causes the JVM to dump its heap on OutOfMemory. JAVA_OPTS="$JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError" - # The path to the heap dump location, note directory must exists and have enough - # space for a full heap dump. + # The path to the heap dump location JAVA_OPTS="$JAVA_OPTS -XX:HeapDumpPath=${LOGSTASH_HOME}/heapdump.hprof" fi