DGX Spark becomes unresponsive (“zombie”) instead of throwing CUDA OOM

There is a another post discussing this problem System crashes when memory is full - #15 by RazielAU

Try to disable swap (via sudo swapoff -a for example) and see if the problem persists.