From 4ce9551f608076a50fd53aa638e66c7c0a5fc327 Mon Sep 17 00:00:00 2001 From: Danny Ellis <35462771+dannyellis@users.noreply.github.com> Date: Tue, 8 Apr 2025 02:31:00 -0600 Subject: [PATCH] Updating to 4GB with higher old heap size (#3730) --- ct/actualbudget.sh | 4 ++-- frontend/public/json/actualbudget.json | 2 +- install/actualbudget-install.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ct/actualbudget.sh b/ct/actualbudget.sh index ba6326f3f..10df637df 100644 --- a/ct/actualbudget.sh +++ b/ct/actualbudget.sh @@ -8,7 +8,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV APP="Actual Budget" var_tags="finance" var_cpu="2" -var_ram="8192" +var_ram="4096" var_disk="7" var_os="debian" var_version="12" @@ -84,7 +84,7 @@ ACTUAL_HTTPS_CERT=/opt/actualbudget/selfhost.crt EOF fi cd /opt/actualbudget || exit - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=3072" $STD yarn install $STD yarn run build:server #$STD yarn workspaces focus @actual-app/sync-server --production diff --git a/frontend/public/json/actualbudget.json b/frontend/public/json/actualbudget.json index 5005a135e..d364d4463 100644 --- a/frontend/public/json/actualbudget.json +++ b/frontend/public/json/actualbudget.json @@ -19,7 +19,7 @@ "script": "ct/actualbudget.sh", "resources": { "cpu": 2, - "ram": 8192, + "ram": 4096, "hdd": 7, "os": "debian", "version": "12" diff --git a/install/actualbudget-install.sh b/install/actualbudget-install.sh index a226f3b34..c09b59480 100644 --- a/install/actualbudget-install.sh +++ b/install/actualbudget-install.sh @@ -55,7 +55,7 @@ ACTUAL_HTTPS_KEY=/opt/actualbudget/selfhost.key ACTUAL_HTTPS_CERT=/opt/actualbudget/selfhost.crt EOF cd /opt/actualbudget || exit -export NODE_OPTIONS="--max_old_space_size=4096" +export NODE_OPTIONS="--max_old_space_size=3072" $STD yarn install $STD yarn run build:server $STD openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfhost.key -out selfhost.crt <