Optimize heap tunable for CF
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 21 Sep 2021 18:20:11 +0000 (20:20 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 21 Sep 2021 18:20:11 +0000 (20:20 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
manifest-cf-template.yml

index cb1e8aa86a34610ca7886ff51651086c90935120..35fe628a449ab1dd1856f92983b4fb445efe01fc 100644 (file)
@@ -10,4 +10,5 @@ applications:
   timeout: 30
   command: node -r source-map-support/register dist/start.js
   env:
-    OPTIMIZE_MEMORY: true
+    # OPTIMIZE_MEMORY: true
+    NODE_OPTIONS: --max-old-space-size=768