未验证 提交 e5fe4b0a 编写于 作者: S skylot 提交者: GitHub

Merge pull request #169 from appetizerio/master

Increase heap limit to avoid most OOMs in Gradle
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册