ZFS ARC usage spike causing kernel to invoke oom-killer

Not sure what do do now personally… I’m running into similar OOM erros myself since I started using the immich docker stack on TrueNAS SCALE 25.04.2.6 together with iGPU HW transcoding (Intel Quick Sync). The system has 64GB RAM and the Physical memory available graph in the TrueNAS WEB GUI never dips below 30GB…

2026 Jan 10 17:45:28 nas Process 384394 (immich) of user X dumped core.

The immich container enters a crash loop (OOM kill) every 3 minutes in my case. Looks like exactly the issue described in this thread.

I’m considering adding a swap file but according to @kris this may cause more system instability than it solves?