tune start script heap size for real-world apks

This commit is contained in:
Mingyuan Xia
2017-04-10 12:56:05 +08:00
parent a9ae971602
commit 199581bf74
+1
View File
@@ -30,6 +30,7 @@ jar {
}
startScripts {
defaultJvmOpts = [ '-Xms2g', '-Xmx4g' ]
doLast {
def str = windowsScript.text
str = str.replaceAll('java.exe', 'javaw.exe')