summaryrefslogtreecommitdiffstats
path: root/tools/releasetools/common.py
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-08-14 15:25:06 -0700
committerDoug Zongker <dougz@android.com>2009-08-14 15:25:06 -0700
commit09cf56001a214bdb22b720c323b9c7c73feea63f (patch)
tree3394ea1273bfa5e50a35119e4800ce807ef5e207 /tools/releasetools/common.py
parent951495fc4802a3603f654c02c7acceda4859f5e1 (diff)
downloadbuild-09cf56001a214bdb22b720c323b9c7c73feea63f.zip
build-09cf56001a214bdb22b720c323b9c7c73feea63f.tar.gz
build-09cf56001a214bdb22b720c323b9c7c73feea63f.tar.bz2
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.
Diffstat (limited to 'tools/releasetools/common.py')
-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 feb8ce3..08c8748 100644
--- a/tools/releasetools/common.py
+++ b/tools/releasetools/common.py
@@ -208,7 +208,7 @@ def SignFile(input_name, output_name, key, password, align=None,
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")