Memos: Increase RAM Usage and max space (#3072)

This commit is contained in:
CanbiZ 2025-03-14 18:50:27 +01:00 committed by GitHub
parent 66c4d0e03f
commit 4cc1ab728c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 4 deletions

View file

@ -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