diff --git a/ct/memos.sh b/ct/memos.sh index b19d72690..bb80994a0 100644 --- a/ct/memos.sh +++ b/ct/memos.sh @@ -8,7 +8,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m APP="Memos" var_tags="notes" var_cpu="2" -var_ram="2048" +var_ram="3072" var_disk="7" var_os="debian" var_version="12" @@ -36,6 +36,7 @@ function update_script() { exit fi systemctl stop memos + export NODE_OPTIONS="--max-old-space-size=2048" cd /opt/memos/web $STD pnpm i --frozen-lockfile $STD pnpm build diff --git a/install/memos-install.sh b/install/memos-install.sh index a849ac23c..191843915 100644 --- a/install/memos-install.sh +++ b/install/memos-install.sh @@ -52,7 +52,8 @@ msg_ok "Installed Golang" msg_info "Installing Memos (Patience)" mkdir -p /opt/memos_data -$STD sudo git clone https://github.com/usememos/memos.git /opt/memos +export NODE_OPTIONS="--max-old-space-size=2048" +$STD git clone https://github.com/usememos/memos.git /opt/memos cd /opt/memos/web $STD pnpm i --frozen-lockfile $STD pnpm build diff --git a/json/memos.json b/json/memos.json index 0d6ed537d..84433fd61 100644 --- a/json/memos.json +++ b/json/memos.json @@ -19,7 +19,7 @@ "script": "ct/memos.sh", "resources": { "cpu": 2, - "ram": 2048, + "ram": 3072, "hdd": 7, "os": "debian", "version": "12" @@ -31,4 +31,4 @@ "password": null }, "notes": [] -} \ No newline at end of file +}