2 ms·
I disable swap. If I run out of RAM, thrashing may occur but it is not fatal. Some process that needs to write to "disk" might fail, but the system does not.
by 1vuio0pswjnm7 6y ago
I disable swap. If I run out of RAM, thrashing may occur but it is not fatal. Some process that needs to write to "disk" might fail, but the system does not. I just delete some file(s) to free up the needed RAM, restart the process and continue working. I don't think NetBSD has anything like "OOM killer".
Note that one drawback with "disk-less" via read-only SD card or USB stick is how to have a good source of entropy at boot time.