How much RAM does code-server (VS Code in the browser) need? We measured: 191 MB idle

Version 4.131.0 · measured 2026-08-09 · all 13 apps

code-server (VS Code in the browser) (cloud development environment) used 191 MB of RAM across 2 processes sitting idle with default configuration — measured by us, on real hardware, not copied from another blog. Runtime: Node.js / Electron-less VS Code server

Smallest sane VPS: 1 GB (idle) — but plan for 2 GB in real use.
Don't co-host with anything memory-hungry. The editor experience degrades sharply under memory pressure.

What the vendors say

Coder's own docs recommend at least 1 GB RAM and 2 cores.

What changes under load

This is the one app where idle numbers mislead: opening a workspace loads extensions and language servers. A TypeScript project with ESLint easily adds 500 MB–1 GB. Budget for what you code, not what idles.

Methodology

Measured 2026-08-09 on Ubuntu 24.04.4 LTS, x86-64.

Each app was started with its default configuration and an empty data directory, left to settle for 25–30 seconds, and confirmed alive with an HTTP request to its web interface. We then recorded the resident set size (RSS) of the app's entire process tree via ps. Apps were run directly on the host (no Docker), so numbers exclude container overhead (~10–30 MB with Docker).

A fresh minimal Ubuntu 24.04 VPS typically idles at roughly 200–300 MB RSS (kernel, systemd, sshd, journald). All 'fits on' verdicts below assume ~300 MB reserved for the OS.

Where to run it

A 1 GB instance from Hetzner, Vultr or DigitalOcean covers this app with the OS overhead included. Don't pay for RAM the measurements say you won't use.

Other apps we measured

File Browser (16 MB), Gotify (20 MB), ntfy (27 MB), PocketBase (31 MB), Caddy (40 MB), Navidrome (47 MB), Syncthing (57 MB), Prometheus (70 MB), MinIO (132 MB), Uptime Kuma (136 MB), Gitea (158 MB), Forgejo (173 MB)

Disclosures: This site is researched, measured and written with the help of AI tools; every benchmark number is from a real measurement we ran ourselves, and a human owner reviews content before publication. Some links to hosting providers may become affiliate links — if you buy through them we may earn a commission at no extra cost to you. No provider paid for placement or saw content before publication.