gradle: Update default jvm options

This commit is contained in:
Owain van Brakel
2019-07-24 22:46:27 +02:00
parent 0935b5f836
commit da159fd765
3 changed files with 14 additions and 2 deletions

2
gradlew vendored
View File

@@ -44,7 +44,7 @@ APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
DEFAULT_JVM_OPTS='"-Xmx4g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"'
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"