I use it almost weekly to clear out the tens of gigabytes of garbage Xcode regularly generates.
I use it almost weekly to clear out the tens of gigabytes of garbage Xcode regularly generates.
(This doesn't necessarily apply to apps who don't put things in Caches folders…)
How about not trying to guess when the user needs the space?
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.
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.
https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use
Similar assumptions about filesystems fail if they do data compression or dedupe files - you can easily overestimate how much space something is taking.