Never had it with Windows. Or iPad, or iPhone. Why does the pro computer do this? My guess is 5k external monitor and a few desktops, but...really. I'm not running multiple layers of VM's, it'll crash it with a few VS code windows, browsers, command lines.
Look, at least the Apple is smart enough to wake up basically in the same window state after having refreshed the resources. That's fantastic. But even better to fix it without going through the whole "have you turned it off and on again" routine.
Different models of computing. The iPhone only displays one tab inside one application at a time. And switching is slow enough that the OS can prefetch the swapped memory for the new view. A desktop app usually keeps everything alive as switching is very random and instantaneous. And you don't go open things that require a lot of RAM when you don't have that many (Each electron app is a whole new browser which is already a resource hog)
What is that?
I've been using macs for decades, and I've never seen or heard of such a dialog.
The only application I ever need to terminate is Notes, which for some reason is extremely crash prone on the mac.
Open 1000tabs and it will kill any machine.
In any case, it's pretty easy for the OS to swap out browser data as it is chunkable by tab. Just because it had allocated 22GB doesn't mean that it was all active. Must was certainly swapped to SSD.