Increase javac heap to 4096M

Bug: 246361502
Test: TH
Change-Id: I787871a8fe924857cde550700acd15682b924b8b
This commit is contained in:
Sorin Basca
2022-09-14 11:33:58 +01:00
parent d4a0b1f63c
commit a1073a5ab5

View File

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