RAM errors cause random app or Windows crashes
Candidate causes of “random crash” symptoms include bad RAM modules or slots, XMP/EXPO instability, etc. Check in order, starting with Step 1, ‘Check whether RAM is a suspicious pattern by recording bounces.’
First, check that this guide matches your problem
Do you have these symptoms?
- Random crashes
- Memory error
- Program keeps crashing
- Suspected faulty RAM
Common causes
- Bad RAM module or slot
- Unstable XMP/EXPO
- Memory controller problem
How to fix
6 steps, 1 hr 45 min–4 hr 40 min in total. The easiest checks come first, so stop as soon as the problem is fixed.
If only one program crashes repeatedly, it is likely to be the problem with that program, and if different programs and Windows stop randomly, it is grounds to suspect the RAM.
- Open 'View Reliability History' in Windows Search or run
perfmon /relin WinR and see the red X for the bounced date. - Record whether the name of the app you flicked is different each time, or whether the same app is repeated.
- If a blue screen also appears, check if there is a stop code such as MEMORY_MANAGEMENT or PAGE_FAULT_IN_NONPAGED_AREA.
perfmon /relWhat to check
If the same app crashes, update/reinstall that app first. If several apps and Windows freeze randomly, check your memory with the steps below.
Did this step fix it?
If the memory is unstable, files being saved may become corrupted. Save data before diagnostics and parts work.
- Copy the documents, photos, and project files you are working on to an external storage device or the cloud.
- Open a few copied files to see if they open normally.
Did this step fix it?
Since the memory profile uses higher speed and voltage than the rating, random flickering may occur depending on the CPU/motherboard combination.
- Enter BIOS by pressing Del or F2 when turning on your PC (keys vary by manufacturer).
- Turn off XMP/EXPO (or DOCP), set memory speed to Auto, save and reboot.
- Try doing things you normally do for at least a day and see if your symptoms have reduced.
What to check
If the bounce disappears from the default, it is most likely memory profile instability. Adjust the speed with the guide ‘Reboot/blue screen occurs when XMP or EXPO is turned on.’
Did this step fix it?
If an error occurs even with XMP turned off, the problem may be the module or slot, not the settings.
- Run
mdsched.exein WinR and select 'Restart now to check for problems'. - You can select an extended test by pressing F1 on the test screen. If time permits, extended testing is recommended.
- If you don't see any results after rebooting, check Event Viewer → Windows Logs → System for entries with the source MemoryDiagnostics-Results.
What to check
If an error occurs even once, check each module and slot in the next step. If there are no errors but the crashing continues, check the storage device and driver as well.
Did this step fix it?
Advanced steps from here
These steps are hard to undo or involve working with hardware or system settings directly. If you are not confident, you can take your results so far to a repair service instead.
You can determine which part to replace by classifying the defective contact, defective module, and defective slot.
- Turn off the PC, unplug the power cable, and press the power button for a few seconds to drain any remaining electricity.
- Only if you are comfortable with disassembly, remove the RAM and reinsert it until both latches lock. If you are not confident, leave this step to inspection.
- If there are multiple modules, plug in only one, repeat the memory diagnosis, and then switch to the next module.
- If the error follows a specific module, suspect that module, and if the error occurs only in a specific slot, suspect the slot or motherboard.
What to check
If each module is fine but an error occurs only when plugged together or sped up, check for a possible CPU memory controller limitation in the next step.
Did this step fix it?
Memory controller limitations or compatibility issues may be reduced by updating the BIOS, using modules on the supported list, or adjusting speeds.
- Check your motherboard manufacturer's support page to see if any BIOS changes include improved memory compatibility.
- Check whether the module is currently in the memory QVL (compatibility list) and what speeds are supported for the number of plugged in modules (2 or 4).
- Follow the manufacturer's procedures for BIOS updates and never turn off the power during the process. If it fails, you may not be able to boot.
What to check
If an error occurs in the default values even after the update, the module will be replaced or inspected by the seller or manufacturer.
Did this step fix it?
Frequently asked questions
Related problems
If the symptoms do not match exactly, please check the issue below.
Related error codes
If the code below appears on the screen, refer to the confirmation procedure for each error.
IRQL_NOT_LESS_OR_EQUALMemory access error with high IRQL
Kernel code accessed an invalid memory address at an impermissible run level.
Blue screenPAGE_FAULT_IN_NONPAGED_AREAresident memory access failure
An invalid access occurred to an area that should always be in memory.
Blue screenKERNEL_SECURITY_CHECK_FAILUREKernel data integrity error
The kernel has detected corruption in a critical data structure.
Running programs0xC0000005Access violation
The program attempted to read, write, or execute inaccessible memory.