Skip to content

Commit

Permalink
fix: disabled GraalVM warning at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
lvca committed Jan 9, 2023
1 parent fb67f72 commit a0f4e1b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package/src/main/scripts/console.bat
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ shift
goto setArgs

:doneSetArgs
set JAVA_OPTS_SCRIPT=-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8
set JAVA_OPTS_SCRIPT=-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8 -Dpolyglot.engine.WarnInterpreterOnly=false

%JAVACMD% ^
-client ^
Expand Down
2 changes: 1 addition & 1 deletion package/src/main/scripts/console.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fi


if [ -z "$JAVA_OPTS_SCRIPT" ] ; then
JAVA_OPTS_SCRIPT="-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8"
JAVA_OPTS_SCRIPT="-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8 -Dpolyglot.engine.WarnInterpreterOnly=false"
fi

if [ $# -gt 0 ] ; then
Expand Down
2 changes: 1 addition & 1 deletion package/src/main/scripts/restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi


if [ -z "$JAVA_OPTS_SCRIPT" ] ; then
JAVA_OPTS_SCRIPT="-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8"
JAVA_OPTS_SCRIPT="-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8 -Dpolyglot.engine.WarnInterpreterOnly=false"
fi

exec "$JAVA" $JAVA_OPTS \
Expand Down
2 changes: 1 addition & 1 deletion package/src/main/scripts/server.bat
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ goto setArgs

:doneSetArgs

set JAVA_OPTS_SCRIPT=-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8
set JAVA_OPTS_SCRIPT=-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8 -Dpolyglot.engine.WarnInterpreterOnly=false

rem ARCADEDB memory options, default uses the available RAM. To set it to a specific value, like 2GB of heap, use "-Xms2G -Xmx2G"
set ARCADEDB_OPTS_MEMORY=
Expand Down
2 changes: 1 addition & 1 deletion package/src/main/scripts/server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if [ -z "$ARCADEDB_OPTS_MEMORY" ] ; then
fi

if [ -z "$JAVA_OPTS_SCRIPT" ] ; then
JAVA_OPTS_SCRIPT="-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8"
JAVA_OPTS_SCRIPT="-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8 -Dpolyglot.engine.WarnInterpreterOnly=false"
fi

if [ -z "$ARCADEDB_JMX" ] ; then
Expand Down

0 comments on commit a0f4e1b

Please sign in to comment.