32-bit support for large memory allocation |
||
Issue description
Wasm scenarios require for their heap (==an array buffer) a large (512MB or more) linear address space.
The following page fails on Android 32 bit, on a Nexus 5, at the allocation line (where "v" is assigned)
<body>
<script>
var size = Math.pow(2, 29);
var v = new ArrayBuffer(size);
var view = new Uint8Array(v);
for (var i = 0; i < size; ++i) {
view[i] = i;
}
console.log(view[42] == 42);
</script>
</body>
,
Dec 9 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by mtrofin@chromium.org
, Dec 9 2016