explicitly set max heap size when running signapk
On the mac, -Xmx defaults to 64MB, which isn't enough to do a
whole-file signing of a full OTA package.
diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py
index feb8ce3..08c8748 100644
--- a/tools/releasetools/common.py
+++ b/tools/releasetools/common.py
@@ -208,7 +208,7 @@
else:
sign_name = output_name
- cmd = ["java", "-jar",
+ cmd = ["java", "-Xmx512m", "-jar",
os.path.join(OPTIONS.search_path, "framework", "signapk.jar")]
if whole_file:
cmd.append("-w")