nextdoctor

The memory monitor
for Next.js development.

One command sets up live memory monitoring, diagnostics, and auto-tuning for your Next.js dev server — free, open source, and built to be part of your everyday workflow.

$npx @gowhiteleaf/nextdoctor diagnose

No install required — set it up in one command and see it live.

nextdoctor dev
nextdoctor dev — 2 appsuptime 12m 41s · ←/→ switch · r restart · q quit
webrunning
2.1 GB (peak 2.4 GB)
▂▃▄▅▆▇█▇▆▅▄▃▂▃▄▅▆▇
pid 41213: 1.8 GB pid 41240: 210 MB pid 41244: 95 MB
adminrunning
340 MB (peak 410 MB)
▁▂▂▃▃▂▂▁▂▃
pid 41290: 340 MB

A live, full-screen terminal dashboard — per-app memory gauge, trend sparkline, and process breakdown.

diagnose

A quick, read-only scan of your project — Next.js version, config tuning, monorepo detection. Zero risk, safe to run on any project, anytime.

$ nextdoctor diagnose

fix

One command tunes your config for you — always backs up first and shows you exactly what's changing before it writes anything.

$ nextdoctor fix

dev

A live dashboard for your dev server's memory — one app or several, side by side. Keep it open all day, the way you'd keep a terminal tab open.

$ nextdoctor dev

Built for everyday Next.js development

Next.js dev servers hold onto memory for every route and page you visit — exactly how much depends on your Next.js version, bundler, and config. nextdoctor gives you visibility into what's actually happening, one-command tuning, and a live dashboard you can keep open all day. Memory usage becomes something you monitor as you work, not something you find out about the hard way.