Skip to content

Instantly share code, notes, and snippets.

Created February 15, 2013 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/4959968 to your computer and use it in GitHub Desktop.
Save anonymous/4959968 to your computer and use it in GitHub Desktop.
Bus error in node.js
var bigBlob = Array.apply(null, Array(1024 * 100)).map(function () { return 'aaaaaaaaaa' }).join('')
#!/bin/bash
for (( i=1; i<=10000; i++ ))
do
echo "Running test $i .."
node blob.js
if [ $? -ne 0 ]; then
break
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment