How to test RAM

Faulty or unstable memory causes crashes that look like software problems. Here is how to screen for it quickly and how to confirm it properly.

Last updated:

Related tests

Symptoms of bad memory

Memory errors are not always obvious. Common signs are:

  • blue screens with different error codes each time, often mentioning memory;
  • random restarts or freezes, especially under load;
  • programs crashing without a clear reason;
  • corrupted files or failed archive extractions;
  • a computer that does not start after a memory upgrade;
  • games that crash only on high settings.

These can also come from drivers, storage or the power supply, so a memory test is one step in a diagnosis, not the whole diagnosis.

Step 1. Quick screen with the browser test

Open the RAM stress test and choose Memory to test. A quarter to half of your RAM is a good start, so the operating system keeps enough free memory. Press Start test and let it run at least several passes. The test fills memory with position-dependent patterns, reads them back and compares them, with a new pattern in every pass.

Any error counts. Healthy memory at default settings should produce none. A browser, however, can only use the memory it is granted, often a few gigabytes, and cannot test memory that the operating system holds. So zero errors is a good sign, not a clean bill of health.

Step 2. Test with a bootable tool

For a complete diagnosis, use a tool that runs outside the operating system:

  • MemTest86 or MemTest86+ boot from a USB stick and test nearly all memory, addresses included.
  • Windows Memory Diagnostic is built into Windows and can be started from the Start menu.

Run at least a few full passes. Memory errors can be rare, so some people let it run overnight. Any error is a serious sign.

Step 3. Check XMP and EXPO profiles

The most common cause of memory errors in desktop PCs is not a broken module, but an unstable memory profile. XMP (Intel) and EXPO (AMD) are one-click profiles that set the speed and timings advertised on the box. The memory, the processor's memory controller and the motherboard have to handle those settings together, and sometimes they cannot.

  1. Enter the BIOS and turn the profile off, so the memory runs at its default speed.
  2. Run the test again.
  3. If errors disappear, the profile is the problem. Try a lower speed, a small voltage increase within the manufacturer's range, or a BIOS update.

Step 4. Test the sticks one at a time

If errors remain at default settings:

  1. Switch the computer off and remove all memory sticks except one.
  2. Test that stick in the first recommended slot.
  3. Repeat for every stick.
  4. If one stick fails in every slot, it is faulty. If every stick fails in the same slot, the slot or the motherboard is faulty.

Step 5. Test the whole system

Memory may pass alone and still fail when the processor and graphics card heat the case. Run the full PC stress test, which loads the CPU, GPU and RAM together, for 30 minutes or more. Errors that appear only here point to heat, power delivery or an overclock. You can also rule out the processor with the CPU stress test.

What to do with the result

ResultNext step
No errors in browser or bootable testMemory is probably fine; look at drivers, storage, power and temperature.
Errors with XMP or EXPO, none withoutUse a lower speed, update the BIOS or adjust the profile.
Errors at default settings on one stickReplace or return that stick; many sticks have a warranty.
Errors with every stick in one slotTry another slot; if it persists, have the motherboard checked.

When buying a used PC

Test the memory before you pay. The used PC checklist puts the RAM test in order with the other checks. A seller who does not let you run a short test is a warning in itself.

Related guides