News for hackers. Stuff that matters.
Re:macOS keeps a huge wallpapers cache by MereInterest on Wednesday September 28, 2022 @07:27AM (#33006718)
This is the same problem I have with the "unused RAM is wasted RAM" argument. So long as a system has a maximum of one application using this strategy, it works. As soon as you have two independent programs each of which try to cache as much as possible, it falls apart.

For a while, the browser could reasonably assume that it was the only application that used this strategy, and it was a true assumption. Now that native executables are being replaced by web-based applications, every program is trying to maximize its RAM usage, with predictable results.

Re:macOS keeps a huge wallpapers cache by astrange on Wednesday September 28, 2022 @05:05PM (#33013247)
It works fine if they tell the VM that its cache regions are purgeable, so they just go away under pressure instead of getting swapped out.

Of course getting swapped out is usually fine too.

Huge memory usage is more likely because they don’t know how to check for memory leaks, not because they’re trying to use it.