From e55ef94a997fd43fe1b6f2711667777e57cdef63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 21 Sep 2021 20:20:11 +0200 Subject: [PATCH] Optimize heap tunable for CF MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- manifest-cf-template.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest-cf-template.yml b/manifest-cf-template.yml index cb1e8aa8..35fe628a 100644 --- a/manifest-cf-template.yml +++ b/manifest-cf-template.yml @@ -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 -- 2.34.1