increase java heap size when signing packages

Large OTA packages are causing signapk to run out of memory.

Change-Id: I511b9b5fb2d303805006ca76458f44bf72faeff2
This commit is contained in:
Doug Zongker 2011-02-23 09:25:01 -08:00
parent 9c2b9db6b5
commit ca855e9c0a
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ def SignFile(input_name, output_name, key, password, align=None,
else:
sign_name = output_name
cmd = ["java", "-Xmx512m", "-jar",
cmd = ["java", "-Xmx2048m", "-jar",
os.path.join(OPTIONS.search_path, "framework", "signapk.jar")]
if whole_file:
cmd.append("-w")