From 7891696caea16d77a474f14726924f55a39c187a Mon Sep 17 00:00:00 2001 From: Limezy Date: Sun, 12 Jun 2022 16:08:04 +0700 Subject: [PATCH] Max old space to 800 --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index e2950a2..a852e73 100755 --- a/scripts/install +++ b/scripts/install @@ -147,7 +147,7 @@ pushd "$final_path" # Setup tensorflow library ./scripts/dist/install-tensorflow.sh # Setup node environment - export NODE_OPTIONS=--max_old_space_size=1024 + export NODE_OPTIONS=--max_old_space_size=800 # Build server from source ynh_use_nodejs env "$ynh_node_load_PATH" npm install -g npm diff --git a/scripts/upgrade b/scripts/upgrade index 247b1f8..afc4331 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -119,7 +119,7 @@ pushd "$final_path" # Setup tensorflow library ./scripts/dist/install-tensorflow.sh # Setup node environment - export NODE_OPTIONS=--max_old_space_size=1024 + export NODE_OPTIONS=--max_old_space_size=800 # Build server from source ynh_use_nodejs env "$ynh_node_load_PATH" npm install -g npm