Merge "Increase javac heap to 4096M"

This commit is contained in:
Treehugger Robot
2022-09-14 17:55:51 +00:00
committed by Gerrit Code Review

View File

@@ -78,7 +78,7 @@ var (
func init() { func init() {
pctx.Import("github.com/google/blueprint/bootstrap") pctx.Import("github.com/google/blueprint/bootstrap")
exportedVars.ExportStringStaticVariable("JavacHeapSize", "2048M") exportedVars.ExportStringStaticVariable("JavacHeapSize", "4096M")
exportedVars.ExportStringStaticVariable("JavacHeapFlags", "-J-Xmx${JavacHeapSize}") exportedVars.ExportStringStaticVariable("JavacHeapFlags", "-J-Xmx${JavacHeapSize}")
// ErrorProne can use significantly more memory than javac alone, give it a higher heap // ErrorProne can use significantly more memory than javac alone, give it a higher heap