What I have seen in several cases instead in which it restarted/turned off/blocked that the cause was an overheating problem that should be solved BEFORE these tests, in my cases was always solved by changing the thermal paste (needed on near all servers/pc/notebook after many years).
Described my experience hoping to help someone has similar problems and thinking that memtest is the cause read this bug
OpenPGP_signature
Description: OpenPGP digital signature