docs: clarify memory requirements to prevent OOM (exit code 137)

Clarifies higher memory usage during the first-run Next.js build step to prevent confusion when encountering exit code 137.
This commit is contained in:
Albin Thomas Jiji
2026-04-03 09:42:28 +05:30
committed by GitHub
parent 4ab7cf10ea
commit 657a32f1e1
+13 -3
View File
@@ -312,14 +312,24 @@ docker compose exec -T db psql -U prompts prompts < backup.sql
## Resource Requirements
Minimum:
**Runtime** (after first build):
- 1 CPU core
- 1GB RAM
- 2GB disk space
Recommended:
**First-run build** (Next.js compilation on startup):
- 1 CPU core
- Higher memory required (OOM may occur with low limits)
- 2GB disk space
> ⚠️ If you see `Killed` followed by `exited with code 137` during first startup,
> your Docker container likely ran out of memory during the build step.
> Increasing Docker's memory allocation (e.g., ~4GB or more) can help resolve this.
> On Docker Desktop: Settings → Resources → Memory.
**Recommended for production:**
- 2 CPU cores
- 2GB RAM
- 2GB RAM (runtime)
- 10GB disk space
## Running Behind a Reverse Proxy