Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Only if you take a very liberal definition of memory. The following probably isn't an infinite loop, even though it'd look like one under normal definitions of memory (either RAM or RAM+disk):

    $ while ping -W 2 -q -c 1 www.google.com; do sleep 10; done
Eventually, the network will go down.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: