I was trying to determine why all apps were crashing on a phone when I looked at the storage and saw it was completely at-capacity. I tried restarting and exiting all background tasks to no avail. The entire 32GB of storage was shown as being used, and as soon as we deleted an app that took up a sizeable chunk of disk, everything started working again. And many people have the same issue.
This, however, goes against my intuition as to memory management coming from a computer science background — iOS does not swap pages to the disk, so we wouldn't need to reserve space on disk for this. In addition, it's not an issue with RAM as exiting all running background apps didn't change anything, nor did restarting the phone.
I understand that the kernel would kill processes if it were an affair with RAM contention and resident pages in RAM getting too high, but that's not the case here. So my question is then, if there is no swapping to disk, and it's not a RAM affair, what is the most likely cause for apps to all completely crash like this without even starting up? I'm assuming they're not all trying to write to disk on startup...