Make explicit missing settings for Windows service

When installing the Windows service, certain settings like the minimum
heap, maximum heap and thread stack size setting must be set. While
there is an error message making mention of this fact, the error message
is not explicit exactly what setting needs to be set. This commit makes
these settings explicit.

Relates #21200
This commit is contained in:
Jason Tedor 2016-10-31 10:10:37 -04:00 committed by GitHub
parent d7d5909e69
commit 44af41ed55
1 changed files with 3 additions and 3 deletions

View File

@ -209,15 +209,15 @@ for %%a in ("%ES_JAVA_OPTS:;=","%") do (
@endlocal & set JVM_MS=%JVM_MS% & set JVM_MX=%JVM_MX% & set JVM_SS=%JVM_SS% @endlocal & set JVM_MS=%JVM_MS% & set JVM_MX=%JVM_MX% & set JVM_SS=%JVM_SS%
if "%JVM_MS%" == "" ( if "%JVM_MS%" == "" (
echo minimum heap size not set; configure via %ES_JVM_OPTIONS% or ES_JAVA_OPTS echo minimum heap size not set; configure using -Xms via %ES_JVM_OPTIONS% or ES_JAVA_OPTS
goto:eof goto:eof
) )
if "%JVM_MX%" == "" ( if "%JVM_MX%" == "" (
echo maximum heap size not set; configure via %ES_JVM_OPTIONS% or ES_JAVA_OPTS echo maximum heap size not set; configure using -Xmx via %ES_JVM_OPTIONS% or ES_JAVA_OPTS
goto:eof goto:eof
) )
if "%JVM_SS%" == "" ( if "%JVM_SS%" == "" (
echo thread stack size not set; configure via %ES_JVM_OPTIONS% or ES_JAVA_OPTS echo thread stack size not set; configure using -Xss via %ES_JVM_OPTIONS% or ES_JAVA_OPTS
goto:eof goto:eof
) )