From 5d478954f3cbac6498a33147e046c8dc3eb08a6a Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Sun, 22 Jan 2023 18:08:39 -0500 Subject: [PATCH] [ADD] script install_addons_dev: increase memory when use dev --- script/addons/install_addons_dev.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/addons/install_addons_dev.sh b/script/addons/install_addons_dev.sh index 9d6afc7..f42e7cd 100755 --- a/script/addons/install_addons_dev.sh +++ b/script/addons/install_addons_dev.sh @@ -14,9 +14,10 @@ fi echo "Install module '$2' on BD '$1'" if [[ $# -eq 3 ]]; then - ./run.sh --no-http --stop-after-init --dev cg -d "$1" -i "$2" -u "$2" -c "$3" + ./run.sh --no-http --stop-after-init --limit-memory-soft=8589934592 --limit-memory-hard=10737418240 --dev cg -d "$1" -i "$2" -u "$2" -c "$3" +# ./run.sh --no-http --stop-after-init fd --limit-memory-soft=2048*1024*1024 --dev cg -d "$1" -i "$2" -u "$2" -c "$3" else - ./run.sh --no-http --stop-after-init --dev cg -d "$1" -i "$2" -u "$2" + ./run.sh --no-http --stop-after-init --limit-memory-soft=8589934592 --limit-memory-hard=10737418240 --dev cg -d "$1" -i "$2" -u "$2" fi retVal=$?