diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py index 9fef298ca1..4f70a42d18 100644 --- a/tools/releasetools/common.py +++ b/tools/releasetools/common.py @@ -77,7 +77,7 @@ class Options(object): self.extra_sign_sepolicy_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"