Next.js: Chasing Down Dev Server Memory and Source Map Costs

A cluster of pull requests from Dan Abramov and collaborators targets memory bloat and slow symbolication in the dev server, all tracing back to how source maps are generated and retained for Turbopack and React's fake stack frames. A separate fix from Sebastian Silbermann unblocks dev-server requests that were getting stuck behind a test-only fetch lock.

Duration: PT2M42S

Episode overview

This episode is a short developer briefing from Next.js.

It explains recent repository work in plain language.

  • Show: Next.js
  • Published: 2026-07-20T13:10:36Z
  • Audio duration: PT2M42S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. It's July 20th, 2026, and today's codebase activity is dominated by one problem: source maps are eating memory and slowing down the dev server.

The core issue, traced back to PR 81904, is that Node.js retains a parsed copy of a source map for every eval'd fake function, keyed by a unique source URL. With large apps, that adds up fast and causes out-of-memory crashes. Dan Abramov's PR 95936 tries serving these "fake frame" source maps by URL instead of…

Second theme: navigation and validation timing. Tim Neutkens' PR 95939 fixes instant validation blocking navigations by making development validation wait for the navigation response to finish, and letting newer requests cancel stale validation work. In the same spirit, Sebastian Silbermann's PR 95761, now merged as…

Smaller but worth noting: React was upgraded again via the automated bot in PR 95901, axios was patched for a high-severity SSRF vulnerability in PR 95957, and several example apps got a preview banner typo fixed.

What's next: watch for a working version of the fake-frame source map fix, since 95936 is explicitly not there yet, and expect the file-based source map approach in 95946 to be the one that lands.…

Nearby episodes from Next.js

  1. Weekly Recap - Navigation Stability & Turbopack Runtime Slimming
  2. Trimming Waste in Rendering and Requests
  3. Turbopack Performance Push and Navigation Reliability Fixes
  4. Navigation Internals Under Pressure
  5. Turbopack Runtime Overhaul and TypeScript 7 Crash Fixes
  6. Hardening Async Loading in App Router Builds
  7. Request Insights Lands, DevTools Get a Trace Viewer
  8. Vercel Adapter Reliability Cleanup