Skip to content

Instantly share code, notes, and snippets.

@mafintosh
Created February 28, 2011 22:03
Show Gist options
  • Save mafintosh/848138 to your computer and use it in GitHub Desktop.
Save mafintosh/848138 to your computer and use it in GitHub Desktop.
(function() {
var bs = [];
for (var i = 0; i < 30; i++) {
var b = new Buffer(1024 * 1024 * 10);
for (var h = 0; h < 1024*1024*10; h++) {
b[h]=42;
}
bs.push(b);
setTimeout(function() {console.log(bs.length, b.length); }, 10000);
}
}())
setTimeout(function() {}, 1000000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment