Created
September 22, 2016 20:38
-
-
Save catdad/5d9cca65b1e658a453d1201b4bbdaf41 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 buff(size) { | |
var buf = new Buffer(size); | |
buf.fill(0); | |
return buf; | |
} | |
var mb = 1024*1024; | |
var temp = []; | |
for (var i = 1; i; i++) { | |
console.log(temp.length, process.versions.node, process.arch); | |
temp.push(buff(mb)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment