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.
This commit is contained in:
Doug Zongker 2009-08-14 15:25:06 -07:00
parent 951495fc48
commit 09cf56001a
1 changed files with 1 additions and 1 deletions

View File

@ -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")