Forgejo Critical Memory Usage

ForgejoCriticalMemoryUsage #

Meaning #

Forgejo resident memory usage has exceeded 90% of the 1 GiB limit for 10 minutes. OOM kill is imminent.

Impact #

Forgejo will be OOM-killed by the kernel, causing an unplanned outage until it restarts.

Diagnosis #

Check current memory usage in Prometheus:

process_resident_memory_bytes{job="forgejo"}

Check Forgejo logs via the PikaPods dashboard for memory-related warnings.

Mitigation #

Restart Forgejo immediately via the PikaPods dashboard to prevent an uncontrolled OOM kill. Investigate the root cause after restart and consider increasing the memory limit if this is a consistent pattern.