Created
February 28, 2011 22:03
-
-
Save mafintosh/848138 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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