From c535ec2b76c4892944a9f8e10ee27adf656fe26b Mon Sep 17 00:00:00 2001 From: Limezy Date: Mon, 13 Jun 2022 08:02:05 +0700 Subject: [PATCH] Max old space 1024 --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index a852e73..e2950a2 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=800 + export NODE_OPTIONS=--max_old_space_size=1024 # 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 afc4331..247b1f8 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=800 + export NODE_OPTIONS=--max_old_space_size=1024 # Build server from source ynh_use_nodejs env "$ynh_node_load_PATH" npm install -g npm