Forgejo High Memory Usage

ForgejoHighMemoryUsage #

Meaning #

Forgejo resident memory usage has exceeded 80% of the 1 GiB limit for 30 minutes. The process is approaching its memory limit and may be OOM-killed if memory continues to grow.

Impact #

Forgejo is at risk of being OOM-killed by the kernel, which would cause 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 #

Monitor the memory trend. It may stabilize on its own. If memory continues to grow, restart Forgejo via the PikaPods dashboard before an OOM kill occurs. Consider increasing the memory limit if this is a consistent pattern.