Since the tool requires exclusive access to your RAM, it cannot run while Windows is fully loaded and must be scheduled during a system reboot. How to Use Windows Memory Diagnostic | Microsoft Surface
Using the Windows Memory Diagnostic Tool is the fastest way to rule out hardware failure when troubleshooting an unstable Windows 11 PC. windows 11 memory diagnostic tool