https://developer.apple.com/documentation/xcode/understandin...
Nice!
Post title is "Purgeable Mac Apps".
Submitted title is "Apparently macOS sometimes just kills some apps randomly"
I was really struggling to search for the problem on the web, “Safari forgets website logins” led me nowhere. I was almost at the point of just trying a reinstall of macOS.
Indeed, my MacBook’s disk is pretty low on space. Not dire, but fairly low. I will clean up and hopefully things will return back to normal!
EDIT: Some users mention RAM and the OOM killer on Linux. I don’t think the situations are quite the same. It’s possible for a machine to have low disk space without any RAM pressure. I assume that is what is happening on my machine. When Mail started dying on me I considered and checked the RAM use, closing a lot of backgrounded applications, and even going so far as to reboot the machine without success.
2. Yet another reason to not go for devices with soldered RAMs from any company. (Remember, we used to run Linux and Windows on just 16/32 MB ram. It wasn't enough. Today, 8/16 GB are common. And yet again, not enough.)
People even use the same analogies. https://chase-seibert.github.io/blog/2009/04/23/the-case-of-...
That’s why things like the OOM killer exist in Linux - there are times where the system as a whole is better off at the cost of a few random users odd processes.