← Back to release summary

8MB Limit for WebAssembly.Module() on the Main Thread

Category
WebAssembly
Type
No developer-visible change
Status
Enabled by default (Chrome 115)
Intent stage
Prepare to ship

Summary

Chrome has extended the size limit on synchronous WebAssembly compilation on the main thread from 4KB to 8MB. This extension is possible thanks to improvements in the WebAssembly runtime V8. The 8MB limit has been determined through performance measurements on a Google Pixel 1 phone, which is currently considered a representative low-end phone. Future developments in V8 or in hardware may allow to extend the limit further. WebAssembly modules that are bigger than 8MB can be compiled asynchronously with WebAssembly.compile(), or sychronously on a Worker.

Standards & signals

View on chromestatus.com