1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00

Max old space 1024

This commit is contained in:
Limezy 2022-06-13 08:02:05 +07:00
parent 7891696cae
commit c535ec2b76
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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