Dev Tools

How much RAM does Gitea need?

Lightweight self-hosted Git service with code review, issues and CI. Official requirements, sourced, plus our own measurements.

Last updated: 2026-11-01
Pinned version: Gitea 28.2.0 (docker.gitea.com/gitea:28.2.0@sha256:30777c91280d)

Official min RAM
not stated
Official rec. RAM
1 GB
Min CPU
not stated
Rec. CPU
2 cores
Measured idle RAM
98 MB
Measured disk
251 MB
Containers
1
Measured peak RAM (sample load)
250 MB

Our measurement

98 MB idle RAM · 251 MB disk (images 249 + data 2) · gitea 98 MB (single container, SQLite)

Official basic docker-compose.yml from the Gitea Docker docs (SQLite) with the image tag pinned to 28.2.0 by digest. The install wizard was submitted with all default values plus one admin account; no repositories.

Method: Official compose file with the image tag replaced by an exact version+digest (never latest). Measured after a 5-minute settle as docker stats MEM USAGE, 3 samples 20 s apart (median). Disk = pulled image size + bind-mounted data directory after setup.
Host: 8 vCPU Intel Xeon VM, 16 GB RAM, Debian 13 (kernel 6.12), Docker 29.9.2 + Compose 5.6.1
Version: Gitea 28.2.0 (docker.gitea.com/gitea:28.2.0@sha256:30777c91280d) · Compose: source · Date: 2026-11-01

With sample data

200 MB idle RAM · 268 MB disk · gitea 250 MB peak, 200 MB settled (single container)
Peak RAM during processing: 250 MB

Sample: One repository created through the API, then a full mirror of the public psf/requests Git repository (6,737 commits, 15 MB) pushed over HTTP, 10 issues created, and 15 pages browsed 3 times each (files, blame, commits, graph, code search, compare, zip download), followed by a full clone.

Peak RAM during the push and browsing was 250 MB. Five minutes later RAM had settled at 200 MB, higher than the empty install because of caches. Disk was about 268 MB (image 249 + data 19).

Method: Same official setup and host as the idle measurement. Peak RAM sampled about every 2 seconds (docker stats) for 4 minutes from just before the repository was created. Settled RAM = 3 samples 20 s apart, 5 minutes after that.
Version: Gitea 28.2.0 (docker.gitea.com/gitea:28.2.0) · Date: 2026-11-01

Compare

What the official docs say

Fits a 4GB server?

yesMeasured 98 MB idle RAM after setup, and 250 MB peak while pushing a 6,737-commit repository and browsing it. The docs call 1 GB RAM typically sufficient for small teams. Easily fits 4 GB.

Sources