Allow ArrayBuffers to grow past 2GB (in 64-bit browser processes)
Categories
(Core :: JavaScript Engine, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox57 | --- | fix-optional |
People
(Reporter: jujjyl, Unassigned)
References
(Blocks 1 open bug)
Details
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Updated•7 years ago
|
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Updated•5 years ago
|
Comment 9•5 years ago
|
||
Google is now pushing to have the 2GB max memory size in wasm raised to 4GB: https://github.com/WebAssembly/spec/issues/1116. I've made the point on that ticket that this represents a compatibility problem until SpiderMonkey can fix its code but I doubt that will sway the vote much. We're probably going to have to look into this sooner rather than later.
Comment 10•5 years ago
|
||
There's now some movement to move wasm beyond 32-bit memories, https://github.com/WebAssembly/design/issues/1325. This could happen quickly: it doesn't require an elaborate "wasm64" design, only larger memories and int64 addresses; it's a fairly local change. We should not lock ourselves into a situation where we stop at 4GB. We should probably allow for the range of an Index, ie, up to 2^53-1 bytes, even if it will remain impractical to allocate memories much beyond physical RAM, and RAM mostly maxes out at 16GB currently.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Update: this is now available in Nightly when setting javascript.options.large_arraybuffers
to true (requires a browser restart).
Comment 12•4 years ago
|
||
Pref is on by default starting in FF89.
Updated•2 years ago
|
Description
•