Increase javac heap to 4096M

Bug: 246361502
Test: TH
Change-Id: Ic2d6f991ad65d13a83319af07944069d1f511783
diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py
index 40e027b..9013b37 100644
--- a/tools/releasetools/common.py
+++ b/tools/releasetools/common.py
@@ -75,7 +75,7 @@
     self.extra_signapk_args = []
     self.aapt2_path = "aapt2"
     self.java_path = "java"  # Use the one on the path by default.
-    self.java_args = ["-Xmx2048m"]  # The default JVM args.
+    self.java_args = ["-Xmx4096m"]  # The default JVM args.
     self.android_jar_path = None
     self.public_key_suffix = ".x509.pem"
     self.private_key_suffix = ".pk8"