Was I really just able to allocate 56GB of memory in Google chrome?

1 min read Original article ↗

@vicapow

  • Select an option

  • Save vicapow/ee9f5f8180b39b438072 to your computer and use it in GitHub Desktop.

Select an option

Save vicapow/ee9f5f8180b39b438072 to your computer and use it in GitHub Desktop.

Was I really just able to allocate 56GB of memory in Google chrome?

var x = [];
for (var i = 0; i < 56; i++) {
x.push(new Uint8Array(1024 * 1024 * 1024));
}
console.log(x.length);