From d7149b2ee44c93aadce9182cabf04e6f29c13107 Mon Sep 17 00:00:00 2001 From: Limezy Date: Fri, 17 Feb 2023 01:29:33 +0700 Subject: [PATCH] Test max old space size --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 66693a1..da04163 100755 --- a/scripts/install +++ b/scripts/install @@ -222,7 +222,7 @@ pushd "$final_path" ynh_script_progression --message="Cleaning cache... " --weight=3 ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn cache clean 2>&1 ynh_script_progression --message="Building Yarn dev dependencies... This can be very long, be patient !" --weight=18 - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build 2>&1 + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build --max_old_space_size=8000 2>&1 ynh_script_progression --message="Fetching Yarn production dependencies... This can be very long, be patient !" --weight=18 ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --production=true --frozen-lockfile --network-timeout 1000000000 2>&1 ynh_script_progression --message="Cleaning cache... " --weight=3