Originally posted by blacknova
View Post
The solution is actually using the goddamn OOM score by either setting up a "rule of thumb" list or letting the user choose his important applications, and so on.
No, I'd stand by mine opinion, offending application should fail by itself, it should gracefully handle OOM situation and either shutdown or free unimportant memory usage (caches/etc) and attempt allocation again.
Let's make an example: some application is wasting RAM, some important process (say the GUI) is allocating some more RAM and finds no free. Clearing caches is only so much useful and it still needs more RAM. What you do? Shut down the GUI? Implement some OOM logic in the GUI to terminate the less important processes within itself and/or degrade performance to save RAM?
You are just moving the burden of OOM to each application, while not solving the overall issue.
Comment