A driver requested memory incorrectly
A process (usually a driver) made an invalid memory request, for example freeing the same memory twice. It is almost always a driver or a security program.
Why it happens
- A faulty or outdated driver.
- An antivirus or program that installs drivers.
- Less often, failing RAM.
How to fix it
- Check whether the blue screen says «What failed:» followed by a file ending in .sys: that is the driver that caused the error. Search for that name to find out which device it belongs to (for example, nvlddmkm.sys is the NVIDIA graphics driver) and update or reinstall that driver.
- Think about what changed right before it started: a program, a driver, an update or a new part. Uninstall or remove it and try again.
- Update the graphics, chipset, network and storage drivers from the support page of your PC or laptop maker. If the problem started after updating one, roll it back: Device Manager › right-click the device › Properties › Driver › Roll Back Driver.
- If you use an antivirus other than Windows Security, uninstall it with its maker's removal tool and run a few days with Windows Security only.
- Test the RAM: press Windows + R, type
mdschedand choose «Restart now and check for problems». If you have two sticks, also try with one at a time.
Meaning based on Microsoft's official documentation. The steps are general guidance: if you are not sure, ask a technician for help.