I was able to crash MacOS 12.5.1 a few weeks ago, by allocating 80+GB more than I had swap/memory space for. Over use/abuse of memory system leading to unstable system is not specific to Linux.
In my case, I was doing development/testing of a data analysis code. Pulling in the data was fine, I just needed to adjust my applications queries to reduce the size of this. I was specifically looking to see what I could get away with in terms of analysis size without adding additional code to handle out-of-core.
MacOS did not respond gracefully to the load. It took it a whole 20 minutes to crash, hard-locking the UI, and eventually rebooting.
My previous experience with a windows laptop (until I traded it in for the mac about 10 months ago), was even worse. I could not use WSL2 for anything approaching real memory utilization, as I'd get all these memory compaction pauses/GCs. These random freezes would often hang the machine for a while, and when it resumed, the interface was very laggy.
Compared to that, my linux experience for systems under horrific load is much better than windows, and on par with MacOS (M1 32GB laptop BTW, not a small system).
In my case, I was doing development/testing of a data analysis code. Pulling in the data was fine, I just needed to adjust my applications queries to reduce the size of this. I was specifically looking to see what I could get away with in terms of analysis size without adding additional code to handle out-of-core.
MacOS did not respond gracefully to the load. It took it a whole 20 minutes to crash, hard-locking the UI, and eventually rebooting.
My previous experience with a windows laptop (until I traded it in for the mac about 10 months ago), was even worse. I could not use WSL2 for anything approaching real memory utilization, as I'd get all these memory compaction pauses/GCs. These random freezes would often hang the machine for a while, and when it resumed, the interface was very laggy.
Compared to that, my linux experience for systems under horrific load is much better than windows, and on par with MacOS (M1 32GB laptop BTW, not a small system).