System crashes when memory is full

I’ve had this issue plenty of times as well, if you have a process suddenly eat all the VRAM and it goes into swap, the DGX Spark usually locks up. The easiest way to do this is to kick off a training process that is set up with settings that immediately pushes the Spark to being out of memory. My solution has been to disable the swap file, then the process just crashes, but at least it leaves the system in a running state, though I’ve also had it reboot once, but that seems less common. Disabling the swapfile seems to be the way to go from what I’ve seen.