0
Will running an infinite loop for longer time may exhaust the memory of the system or it will just keep running infinitely?
3 ответов
+ 1
makes your CPU run hot. but I can't see you running out of ram... for a few years at least.
0
it depends how complex the infinite loop actually is. in theory any loop will eventually exhaust the memory but it takes a complex loop to cause faster results
0
by definition, an infinite loop will basically keep looping until your system memory runs out and your program crash (if you don't stop it)