Increase R8 max heap size to 4GB.

Bug: 241220562
Test: Manual
Change-Id: Ibbe092865d53f694a61c47cd2b6c6f0ccc269222
Merged-In: Ibbe092865d53f694a61c47cd2b6c6f0ccc269222
diff --git a/r8-compat-proguard b/r8-compat-proguard
index 4cc7cc3..f145b5d 100755
--- a/r8-compat-proguard
+++ b/r8-compat-proguard
@@ -53,9 +53,9 @@
     exit 1
 fi
 
-# By default, give r8 a max heap size of 2 gigs. This can be overridden
+# By default, give r8 a max heap size of 4 gigs. This can be overridden
 # by using a "-J" option (see below).
-defaultMx="-Xmx2G"
+defaultMx="-Xmx4G"
 
 # The following will extract any initial parameters of the form
 # "-J<stuff>" from the command line and pass them to the Java