From 15187a54c01b22846449b35496a4870966e859c1 Mon Sep 17 00:00:00 2001 From: Cameron Diver Date: Mon, 5 Nov 2018 12:03:12 +0000 Subject: [PATCH] Remove node garbage collection flags The introduction of these flags correlates with OOM issues on the supervisor. More investigation is needed into these features before adding them back into production. Change-type: patch Signed-off-by: Cameron Diver --- entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry.sh b/entry.sh index bea077a1..b051a72b 100755 --- a/entry.sh +++ b/entry.sh @@ -45,4 +45,4 @@ if [ ! -z "${BALENA_ROOT_CA}" ]; then fi fi -exec node --max_old_space_size=50 --optimize_for_size --always_compact /usr/src/app/dist/app.js +exec node /usr/src/app/dist/app.js