To crash a computer you have to use a hammer or drop it from a high altitude.
This will cause it to freeze. Eventually. It depends on how the OS is configured. I can restrict the max amount of memory for any process tree. So on my machine, this won't work.
This will cause it to freeze. Eventually. It depends on how the OS is configured. I can restrict the max amount of memory for any process tree. So on my machine, this won't work.