Hacker News new | ask | show | jobs
by admax88qqq 1291 days ago
Yeah as a developer I can't guarantee that I'll never write an infinite loop that leaks memory, and I really don't want my only recourse to be restarting my machine. That's a pretty brutal dev cycle lol.
3 comments

You can do that on windows, with GPU compute shaders and syncs - at least in that case on Linux, you can switch to terminal to kill the process. On windows, can't click, to kill a process you need the GPU to render your process managing window...
I mean sure, but that's pretty edge case for me, I'm not developing GPU compute sync.
I've not had that as a problem in a while.

Either the the kernel oom or the systemd oom-killer take care of it.

Does cgroups help here?