Skip to content

Instantly share code, notes, and snippets.

@sreepurnajasti
Created April 27, 2017 06:21
Show Gist options
  • Save sreepurnajasti/a34e0efffc1a6a317b89032ca21e5ac3 to your computer and use it in GitHub Desktop.
Save sreepurnajasti/a34e0efffc1a6a317b89032ca21e5ac3 to your computer and use it in GitHub Desktop.
This is a program which causes high cpu consumption of Node production anomaly
var obj;
var str = JSON.stringify(console);
while (true) {
obj = JSON.parse(str);
str = JSON.stringify(obj);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment