
Memory errors and how to test RAM
Getting random crashes, blue screens mentioning memory, or strange computer behavior? Your RAM might be failing. Here's how to test and fix it.
What Are Memory Errors?
Your computer's RAM (Random Access Memory) temporarily stores data that programs are actively using. When RAM develops errors - from physical damage, manufacturing defects, or electrical problems - your computer can crash, freeze, show corrupted graphics, or display blue screens with errors like MEMORY_MANAGEMENT or PAGE_FAULT_IN_NONPAGED_AREA.
Memory errors are often random and inconsistent, making them tricky to diagnose. You might be able to use your computer for hours without issues, then suddenly it crashes. The key is running proper memory tests to confirm if RAM is the problem.
Quick Test: Windows Memory Diagnostic
Windows has a built-in memory tester that can find most RAM problems. Press Windows + R, type mdsched.exe, and press Enter. Select "Restart now and check for problems." Your computer will restart and run memory tests for 10-20 minutes.
When complete, Windows will restart normally. Check the results by opening Event Viewer (Windows + X > Event Viewer), navigating to Windows Logs > System, and looking for MemoryDiagnostics-Results. If errors were found, your RAM needs to be replaced.
Signs of Bad RAM
Watch for these symptoms that suggest memory problems:
- Random blue screens, especially with memory-related error codes
- Computer freezes during normal use or when opening programs
- Files become corrupted for no reason
- Programs crash with "access violation" or similar errors
- Weird visual glitches or artifacts on screen
- Beeping sounds when starting the computer (usually 2-3 beeps)
- Windows installation fails repeatedly at random points
Detailed Testing Steps
Method 1: Run Extended Memory Diagnostic
For more thorough testing than the quick test:
- Press Windows + R, type
mdsched.exe, and press Enter - Select "Restart now and check for problems"
- When the blue memory diagnostic screen appears, press F1 for Options
- Change Test Mix to Extended
- Change Pass Count to at least 2 (more is better but takes longer)
- Press F10 to apply and start testing
- Let it run - Extended tests can take several hours
- Check results in Event Viewer after restart
Method 2: Use MemTest86 (Most Thorough)
MemTest86 is the gold standard for RAM testing and can find errors Windows Memory Diagnostic misses.
- Download MemTest86 from memtest86.com (free version is fine)
- Create a bootable USB drive using their tool
- Restart your computer and boot from the USB (press F12, F2, or Del during startup to access boot menu)
- MemTest86 will start automatically
- Let it run at least one complete pass (takes 1-4 hours depending on RAM amount)
- If any errors appear in red, your RAM is faulty
- For best results, run 4+ passes overnight
Method 3: Test Individual RAM Sticks
If you have multiple RAM sticks, test each one individually to find the faulty one.
- Shut down and unplug your computer
- Open the case (consult your manual for location)
- Remove all but one RAM stick
- Boot up and run Windows Memory Diagnostic or MemTest86
- If no errors appear, shut down and swap in a different stick
- Test each stick individually
- The stick that shows errors is the faulty one - replace only that stick
This saves money since you only need to replace the failed stick, not all your RAM.
Method 4: Reseat Your RAM
Sometimes RAM isn't faulty - it's just not seated properly in its slot. This can happen from vibration, moving the computer, or dust buildup.
- Shut down and unplug your computer
- Touch a metal part of the case to discharge static electricity
- Open the case and locate your RAM sticks
- Press down the retention clips on both ends of each RAM stick
- Carefully remove each stick
- Gently clean the gold contacts with a soft cloth (no liquids)
- Clean any dust from the RAM slots with compressed air
- Firmly push each stick back into its slot until clips snap into place
- Close the case, plug in, and test
Method 5: Check for Overheating
RAM can develop errors when it overheats. This is less common than physical damage but worth checking.
- Download HWMonitor or similar hardware monitoring software
- Run it while using your computer normally
- Check temperatures of all components
- CPU should stay under 80-85°C, GPU under 85-90°C
- If everything is running hot, your case airflow is inadequate
- Clean out dust, add fans, or improve cable management for better airflow
Fixing Memory Errors
If RAM Is Faulty
Bad RAM cannot be repaired - it must be replaced. Here's how:
- Identify your RAM type: Press Windows + Pause/Break, or check System in Settings
- Note the RAM type (DDR4, DDR5), speed (3200MHz, etc.), and how much you have
- Purchase matching replacement RAM (same type and speed)
- Shut down, unplug, and open your case
- Remove the faulty stick by pressing the retention clips
- Insert the new stick, pressing firmly until clips snap
- Boot up and verify Windows recognizes the full RAM amount
For best performance, use matching pairs of RAM sticks. If replacing one stick, try to match the brand, speed, and timings of your existing RAM.
If RAM Tests Clean
If memory tests don't find errors but you still have crash symptoms:
- Test your hard drive with CrystalDiskInfo - drive failures mimic RAM errors
- Check for overheating - sustained high temperatures cause instability
- Update your motherboard BIOS - sometimes fixes memory compatibility issues
- Test with different RAM if possible to rule out motherboard slot problems
- Run
sfc /scannowto check for Windows file corruption
When to Call a Professional
If you're uncomfortable opening your computer or unsure about which RAM to buy, professional installation ensures compatibility and proper installation. Mixing incompatible RAM types can cause boot failures or instability.
Also, if you've replaced RAM and still get memory errors, you might have a motherboard problem (faulty RAM slots or memory controller). This requires diagnosis with test equipment and potentially motherboard replacement - definitely a job for professionals.
Persistent Memory Errors?
Geeks in Sneaks can diagnose memory problems, test RAM thoroughly, identify faulty sticks, and install compatible replacement RAM. We'll also check for related issues like motherboard problems or overheating that can cause similar symptoms.
Related Topics
Need Professional Help?
If you're still having trouble, our expert technicians can help.
Learn about our pc repair service