Closed BeiyanYunyi closed 1 year ago
Thank you for bringing this to my attention. The actual intended behaviour is that it should not be mathematically possible to run into an OOM problem, but I seem to have made a mistake while reworking the max numbers of processes and pages in v1.1.0. I will fix this shortly.
I do however like your idea of introducing the OOM problem as part of the game, but it should be handled by the player rather than done automatically since managing processes and memory is the point of the game. This raises the question of what consequence killing a process should have on the game as it should certainly contribute to anger the user ;)
Hello, I'm writing an "automatic" version of this game: let the program play itself.
But it seems like that the amount of processes will keep increasing, leading to the "Out of Memory" problem: both RAM and swap space are filled with pages, making any page swapping impossible and causing user ragequits.
In real OS, the system kills some processes to prevent this, so I think the "OOM" problem is unintended and should be fixed.
I have a dirty solution:
If you think it's a good idea, I can open a Pull Request.
EDIT: My solution will cause a UI bug in the "automatic" version.