Merge pull request #169 from appetizerio/master

Increase heap limit to avoid most OOMs in Gradle
This commit is contained in:
skylot
2018-01-02 15:08:57 +03:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -18,3 +18,6 @@ applicationDistribution.with {
}
}
startScripts {
defaultJvmOpts = [ '-Xms2g', '-Xmx4g' ]
}
+1
View File
@@ -30,6 +30,7 @@ jar {
}
startScripts {
defaultJvmOpts = [ '-Xms2g', '-Xmx4g' ]
doLast {
def str = windowsScript.text
str = str.replaceAll('java.exe', 'javaw.exe')