Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
will running an infinite loop for longer time will exhaust the system's memory or it will keep running without affecting the memory?
3 Antworten
0
.
0
It will exhaust the memory even may lead the system to crush
So does openinig a file without closing it again
0
It depends.
i=1
while i > 0
i+=10
This will crash because of out of memory.
while i>0
i=100
Will not.