Unverified Commit e5fe4b0a authored by skylot's avatar skylot Committed by GitHub

Merge pull request #169 from appetizerio/master

Increase heap limit to avoid most OOMs in Gradle
parents 7474d305 6870c05f
......@@ -18,3 +18,6 @@ applicationDistribution.with {
}
}
startScripts {
defaultJvmOpts = [ '-Xms2g', '-Xmx4g' ]
}
......@@ -30,6 +30,7 @@ jar {
}
startScripts {
defaultJvmOpts = [ '-Xms2g', '-Xmx4g' ]
doLast {
def str = windowsScript.text
str = str.replaceAll('java.exe', 'javaw.exe')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment