Actually developed back in the 1950s, virtual memory uses storage (HDD/SSD ... it may wind up scattered around RAM. See Windows swap file. THIS DEFINITION IS FOR PERSONAL USE ONLY.
The Memory Diagnostic Tool usually takes around 15 minutes but can extend for hours depending on the memory size. It can even get stuck, but if all you are getting is a black screen, the issue is ...