Merge "Bump up errorprone heap size"

This commit is contained in:
Treehugger Robot
2022-10-15 02:40:25 +00:00
committed by Gerrit Code Review

View File

@@ -83,7 +83,7 @@ func init() {
// ErrorProne can use significantly more memory than javac alone, give it a higher heap
// size (b/221480398).
exportedVars.ExportStringStaticVariable("ErrorProneHeapSize", "4096M")
exportedVars.ExportStringStaticVariable("ErrorProneHeapSize", "8192M")
exportedVars.ExportStringStaticVariable("ErrorProneHeapFlags", "-J-Xmx${ErrorProneHeapSize}")
// D8 invocations are shorter lived, so we restrict their JIT tiering relative to R8.