mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
## Summary Adds `experimental.devMemoryThresholdRestart`, defaulting to `true`, so projects can set it to `false` to opt out of the development server restart that occurs when V8 heap usage exceeds 80%. The option has no effect on `next start`. ## Verification - Focused config-loading and memory-threshold unit suites passed - `pnpm --filter=next build` completed JavaScript compilation, then failed on pre-existing `sharp` and `@vercel/detect-agent` declaration errors unrelated to this change <!-- NEXT_JS_LLM -->