File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
88APP=" Memos"
99var_tags=" notes"
1010var_cpu=" 2"
11- var_ram=" 2048 "
11+ var_ram=" 3072 "
1212var_disk=" 7"
1313var_os=" debian"
1414var_version=" 12"
@@ -36,6 +36,7 @@ function update_script() {
3636 exit
3737 fi
3838 systemctl stop memos
39+ export NODE_OPTIONS=" --max-old-space-size=2048"
3940 cd /opt/memos/web
4041 $STD pnpm i --frozen-lockfile
4142 $STD pnpm build
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ msg_ok "Installed Golang"
5252
5353msg_info " Installing Memos (Patience)"
5454mkdir -p /opt/memos_data
55- $STD sudo git clone https://github.com/usememos/memos.git /opt/memos
55+ export NODE_OPTIONS=" --max-old-space-size=2048"
56+ $STD git clone https://github.com/usememos/memos.git /opt/memos
5657cd /opt/memos/web
5758$STD pnpm i --frozen-lockfile
5859$STD pnpm build
Original file line number Diff line number Diff line change 1919 "script" : " ct/memos.sh" ,
2020 "resources" : {
2121 "cpu" : 2 ,
22- "ram" : 2048 ,
22+ "ram" : 3072 ,
2323 "hdd" : 7 ,
2424 "os" : " debian" ,
2525 "version" : " 12"
3131 "password" : null
3232 },
3333 "notes" : []
34- }
34+ }
You can’t perform that action at this time.
0 commit comments