diff --git a/scripts/_common.sh b/scripts/_common.sh index cf42455..7433624 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,7 +7,7 @@ # Tag name of the installed version PHOTOPRISM_VERSION="220528-efb5d710" -MEMORY_NEEDED="2560" +MEMORY_NEEDED="3000" NODEJS_VERSION=14 GO_VERSION="1.18" diff --git a/scripts/install b/scripts/install index 5056d56..74d0be3 100755 --- a/scripts/install +++ b/scripts/install @@ -164,7 +164,7 @@ pushd "$final_path" # Setup tensorflow library ./scripts/dist/install-tensorflow.sh # Setup node environment - export NODE_OPTIONS=--max_old_space_size=2048 + 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 c6c7a49..07a0378 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -136,7 +136,7 @@ pushd "$final_path" # Setup tensorflow library ./scripts/dist/install-tensorflow.sh # Setup node environment - export NODE_OPTIONS=--max_old_space_size=2048 + export NODE_OPTIONS=--max_old_space_size=1024 # Build server from source ynh_use_nodejs env "$ynh_node_load_PATH" npm install -g npm