aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSorin Basca <sorinbasca@google.com>2022-09-14 11:33:22 +0100
committerSorin Basca <sorinbasca@google.com>2022-09-14 11:33:22 +0100
commit05085835ea7581fe39b041ca90a09b9f451b49ab (patch)
tree11bf203fd3faebe35be9ccdaf3394741db607d2c
parent085a34b9634ee536a090408e496b3980611c032a (diff)
downloadbuild-05085835ea7581fe39b041ca90a09b9f451b49ab.tar.gz
Increase javac heap to 4096M
Bug: 246361502 Test: TH Change-Id: Ic2d6f991ad65d13a83319af07944069d1f511783
-rw-r--r--tools/releasetools/common.py2
1 files changed, 1 insertions, 1 deletions
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"