Increase R8 max heap size to 4GB
The size was increased for D8 in an earlier change, but is more critical for R8. Match the D8 configuration. Bug: 241220562,283888124 Test: m Change-Id: I3b98bf6098f2196c87a97f6c8f7308d9299170d8
This commit is contained in:
@@ -98,7 +98,7 @@ func init() {
|
||||
"-JDcom.android.tools.r8.emitRecordAnnotationsExInDex",
|
||||
}, dexerJavaVmFlagsList...))
|
||||
exportedVars.ExportStringListStaticVariable("R8Flags", append([]string{
|
||||
"-JXmx2048M",
|
||||
"-JXmx4096M",
|
||||
"-JDcom.android.tools.r8.emitRecordAnnotationsInDex",
|
||||
"-JDcom.android.tools.r8.emitPermittedSubclassesAnnotationsInDex",
|
||||
"-JDcom.android.tools.r8.emitRecordAnnotationsExInDex",
|
||||
|
Reference in New Issue
Block a user