From 6d4e8ee44bddd8b3c2a9abd7693ffc6177fc1d36 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Thu, 3 Mar 2022 17:22:51 +0100 Subject: [PATCH] [YAML] The maximum amount of memory is reached when generating chip-tool tests (#15788) --- scripts/tools/zap/generate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/tools/zap/generate.py b/scripts/tools/zap/generate.py index 8e393cf968c61c..daef29b518b926 100755 --- a/scripts/tools/zap/generate.py +++ b/scripts/tools/zap/generate.py @@ -170,6 +170,8 @@ def runJavaPrettifier(templates_file, output_dir): def main(): checkPythonVersion() + # The maximum meory usage is over 4GB (#15620) + os.environ["NODE_OPTIONS"] = "--max-old-space-size=8192" zap_file, zcl_file, templates_file, output_dir = runArgumentsParser() runGeneration(zap_file, zcl_file, templates_file, output_dir)