diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py index feb8ce36ac..08c87481d7 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")