Skip to content

Commit 4ce9551

Browse files
authored
Updating to 4GB with higher old heap size (#3730)
1 parent efcd660 commit 4ce9551

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ct/actualbudget.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
88
APP="Actual Budget"
99
var_tags="finance"
1010
var_cpu="2"
11-
var_ram="8192"
11+
var_ram="4096"
1212
var_disk="7"
1313
var_os="debian"
1414
var_version="12"
@@ -84,7 +84,7 @@ ACTUAL_HTTPS_CERT=/opt/actualbudget/selfhost.crt
8484
EOF
8585
fi
8686
cd /opt/actualbudget || exit
87-
export NODE_OPTIONS="--max_old_space_size=4096"
87+
export NODE_OPTIONS="--max_old_space_size=3072"
8888
$STD yarn install
8989
$STD yarn run build:server
9090
#$STD yarn workspaces focus @actual-app/sync-server --production

frontend/public/json/actualbudget.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"script": "ct/actualbudget.sh",
2020
"resources": {
2121
"cpu": 2,
22-
"ram": 8192,
22+
"ram": 4096,
2323
"hdd": 7,
2424
"os": "debian",
2525
"version": "12"

install/actualbudget-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ACTUAL_HTTPS_KEY=/opt/actualbudget/selfhost.key
5555
ACTUAL_HTTPS_CERT=/opt/actualbudget/selfhost.crt
5656
EOF
5757
cd /opt/actualbudget || exit
58-
export NODE_OPTIONS="--max_old_space_size=4096"
58+
export NODE_OPTIONS="--max_old_space_size=3072"
5959
$STD yarn install
6060
$STD yarn run build:server
6161
$STD openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfhost.key -out selfhost.crt <<EOF

0 commit comments

Comments
 (0)