Urgent.News

600+ sources. One page. See who else covered it.

Editions

Science

Next.js 16.3 aims to reduce dreaded FATAL ERROR messages

New React framework lowers memory usage by 90%, team claims

Next.js 16.3 aims to reduce dreaded FATAL ERROR messages

Next.js developers who build intricate React applications often experience anxiety over potential outages caused by excessive memory consumption. This stems from the JavaScript engine, typically V8, crashing when it reaches capacity, resulting in a "FATAL ERROR" message. Recognizing this issue, the core development team behind Next.js has launched version 16.3 of the open-source React framework.

This update slashes memory usage by up to 90%, according to the team. In addition to memory improvements, 16.3 also offers faster rendering, enhanced runtime performance, and complete backward compatibility. One key contributor to memory savings is Turbopack, a high-performance bundler built directly into Next.js. This incremental builder only compiles altered code since the last build, replacing the previously used Webpack.

Memory management enhancements in 16.3 include default disk caching and memory eviction. These features can significantly reduce memory consumption, as evidenced by early users who reported a drop from ~20 GB to ~5 GB. The release also boasts a 2.3x increase in compilation speed and a 22% boost in runtime performance. Other notable features in 16.3 include faster server-side rendering, payload bundling, improved static asset caching, and a new debugging tool called Instant Navigations to identify slow-acting components.

Despite occasional criticism that Next.js is losing relevance to newer frameworks, the framework has surpassed a billion downloads this year, indicating its continued popularity and relevance in the developer community.

Written by urgent.news from The Register Science's reporting — not their text. Machine-written — it may contain errors, so check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at theregister.com →

More in Science