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