Memory problems in windows may lead to various severe problems. Windows inbuilt memory diagnostics tool prompts for testing automatically when…