> It just takes a long time to run a memory test on 32 GB of RAM
Maybe run memtest while you sleep? :)
> Or maybe it’s a thermal issue.
I'm no expert on thermal issues by any means, but I did have a laptop that overheated frequently in the past. It was very easy to identify that it was a heat problem, because the fans would start screaming and then it would reliably overheat and power itself off anytime I tried to do anything CPU-intensive with it. Sticking it in a freezer "solved" the problem.
Anyway, given that your freezes are completely random, it doesn't sound like a thermal issue?