3 ms·
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 work
by MereInterest 4y ago
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.
- astrange 4y agoIt 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.