Skip to content

Instantly share code, notes, and snippets.

@jorangreef
Last active October 29, 2016 15:11
Show Gist options
  • Save jorangreef/ccf6f4dabc87caa1889dbf2fca2df031 to your computer and use it in GitHub Desktop.
Save jorangreef/ccf6f4dabc87caa1889dbf2fca2df031 to your computer and use it in GitHub Desktop.
This will segfault if v8's heap.cc CollectAllGarbage and CollectAllAvailableGarbage are empty functions
setInterval(
function() {
},
1000
);
var array = [];
array.push(new Buffer(12189696));
array.push(new Buffer(629145600));
array.push(new Buffer(24576));
array.push(new Buffer(98304));
array.push(new Buffer(98304));
array.push(new Buffer(98304));
array.push(new Buffer(98304));
array.push(new Buffer(98304));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment