main difference is that Mac OS can actually use swap.
With Windows you can as well just restart the whole machine, once it touches swap it won't stop thrashing ever.