From 620b454c491ee7f4172270a0a9cde805f53f2abc Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 4 Nov 2021 09:43:03 +0100 Subject: [PATCH] :paperclip: Minor changes on build script resource management. --- frontend/scripts/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scripts/build b/frontend/scripts/build index 11f608e7f..a5e4f241f 100755 --- a/frontend/scripts/build +++ b/frontend/scripts/build @@ -8,7 +8,7 @@ EXTRA_PARAMS=$SHADOWCLJS_EXTRA_PARAMS; yarn install || exit 1; npx gulp clean || exit 1; -clojure -J-Xms1G -J-Xmx1G -M:dev:shadow-cljs release main --config-merge "{:release-version \"${CURRENT_HASH}\"}" $EXTRA_PARAMS || exit 1 +clojure -J-Xms100M -J-Xmx800M -J-XX:+UseSerialGC -XX:GCTimeRatio=5 -M:dev:shadow-cljs release main --config-merge "{:release-version \"${CURRENT_HASH}\"}" $EXTRA_PARAMS || exit 1 npx gulp build || exit 1; npx gulp dist:clean || exit 1; npx gulp dist:copy || exit 1;