Fine tune node.js CF heap size
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 25 Sep 2021 10:21:51 +0000 (12:21 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 25 Sep 2021 10:21:51 +0000 (12:21 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
manifest-cf-template.yml

index 4fac17bc862aa75b19752916aff4c347ae10d640..b4bcbc0b6a866b4e75216e9da2abd3ecb2ef2418 100644 (file)
@@ -11,4 +11,4 @@ applications:
   command: node -r source-map-support/register dist/start.js
   env:
     # OPTIMIZE_MEMORY: true
-    NODE_OPTIONS: --max-old-space-size=768
+    NODE_OPTIONS: --max-old-space-size=512