Solaris family kernels move this problem to run/allocation time, instead of waiting for the system to become unusable before trying to do something about it. Kinda nice
echo 2 | sudo tee /proc/sys/vm/overcommit_memory
is there on Linux if you want it.https://www.kernel.org/doc/html/latest/mm/overcommit-account...