Source code

Revision control

Copy as Markdown

Other Tools

// |jit-test| allow-oom; allow-unhandlable-oom
var size = 1000000;
var a = [];
for (var i = 0; i < size; ++i) {
a[i] = null;
}
gcparam("maxBytes", gcparam("gcBytes") + 4*1024);
for (var i = 0; i < size; ++i) {
a[i] = [];
}