This successfully allocates 100-110 GB in the shell:
--
var arr = [];
for (var i = 0; i < 100; i++) {
var s = String.fromCharCode(i).repeat(2 ** 30 - 1);
arr.push(s);
s.indexOf(",");
}
readline();
--
Bug 1509542 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This successfully allocates 100-110 GB in the shell:
---
var arr = [];
for (var i = 0; i < 100; i++) {
var s = String.fromCharCode(i).repeat(2 ** 30 - 1);
arr.push(s);
s.indexOf(",");
}
readline();
---