Kernel Mode heap corruption is a BSOD-type error with bug check value 0x0000013A. This blue screen error usually occurs due to corrupted device drivers, obsolete graphics cards, memory issues, or malfunctioning hardware. A few users recently encounter this bug after performing an in-place upgrade on their devices.
Well, in this guide, we present detailed information on how the Stop Error 0x13A occurs in the first place. Besides, we also discussed eight solutions that help in getting rid of the KERNEL_MODE_HEAP_CORRUPTION bug. Let’s explore the workarounds in detail –
How to Fix BSOD Error 0x13A in Windows 10
To solve the KERNEL_MODE_HEAP_CORRUPTION Error 0x0000013A, try the following suggestions –
Boot Windows 10 into Safe Mode
Since you are getting the Blue Screen, you won’t be able to log into Windows normally. So, you need to first boot into Safe Mode and then perform the below workarounds. Only a handful of Windows 10 programs and services run on this mode preventing any kind of conflicts from third-party apps.
Here are the essential steps to enter Safe Mode –
- Press the Power button for 5 seconds and wait till it shuts down successfully.
- Repeat this process 2-3 times until the Preparing Automatic Repair screen comes into view.
- Let the system diagnoses this error for a few seconds thereafter click Advanced options.
- On the Windows Recovery Environment (WinRE), go to – Troubleshoot > Advanced options.
- Hit Startup Settings on the next screen followed by the Restart button.
When Windows reboots, press F5 to boot into Safe Mode with Networking.
Note: Selecting “Safe Mode with Networking” is essential to fix black or blue screen issues. If not, this won’t connect to the Internet causing problems in troubleshooting the actual problem.
Check Event Viewer
Knowing the reasons that might have led to the bug at hand provides an opportunity to solve the BSOD error correctly. Interestingly, the system contains a log of all bugs and errors that ever occur on Windows 10. One can access the Windows log at Event Viewer containing information like Source and Event ID.
Now that you are already inside the Safe boot, use the below guideline to get the Windows log file –
- Use Win + S shortcut to start the Search UI.
- Type “event viewer” in the text field, and click the top result.
- Select Windows Logs > System from the left column.
- In the mid-section, scroll down and locate the log titled “Kernel Mode Heap corruption“.
- Once you find this file, double-click the same to read the description.
The log enlists the exact cause that might have caused this BSOD Error 0x13A. Usually, this error arises because of these three reasons –
- Corrupted Graphics Driver
- Software/Hardware Error
- Memory Issues
1] Check Graphics Drivers for issues
If you encounter the BSOD error 0x13A just after starting a heavy game, this problem might lie inside the graphics driver. A corrupted or obsolete graphics driver often causes the KERNEL_MODE_HEAP-CORRUPTION error on Windows 10. To fix this, you must try updating the existing graphics card driver.
Note: In case the update process fails, you may use the rollback feature. If this method fails as well, uninstall the graphics driver, restart the device, then reinstall the graphics card back.
- Right-click on the Windows icon and select Device Manager.
- Click “>” next to the display adapters and right-click again on the available graphics card.
- Now, select the correct option depending on what are you trying to do with this.
- Update: Hit update driver option then choose “Search automatically for updated driver software“.
- Roll Back: Click Properties, switch to the Driver tab, and hit Roll back driver.
- Reinstall a New Driver: Click uninstall device then visit the manufacturer’s Site to download the latest version of the uninstalled graphics card. When the download completes, double-click the setup file to start the installation.
2] Run Driver Verifier Manager
Driver Verifier Manager is a great tool to discover the problematic drivers on Windows 10. So, if you are still getting the Kernel Mode Heap Corruption 0x0000013A error, you should run this tool to check the obsolete device drivers. Here’s how to perform this task –
- Launch Windows PowerShell (Admin).
- On the elevated console, type “
verifier“, and hit Enter.
- Subsequently, mark the “Create Standard Settings” checkbox followed by Next.
- Now, mark “Automatically select all drivers installed on this computer” and hit Finish.
- The system prompts to “Restart PC” so as to start scanning for any corrupted or damaged drivers.
- After the reboot, Windows will display a list of drivers that are found to have some errors.
You may now re-follow method #2 to update, rollback, or uninstall-reinstall the above-displayed device drivers.
3] Run Blue Screen Troubleshooter
This is another interesting tool designed to help users fix BSOD-type errors on Windows 10. Isn’t it great that one can address the blue screen issue possibly by running a simple troubleshooter? Indeed, this is an easy way to resolve different Stop Error codes on Windows 10 PC. Here’s how to use this tool –
- First of all, navigate to the below path –
Win + I > Update & Security > Troubleshoot
- Click to reveal the Blue Screen box and hit Run the troubleshooter.
4] Perform Disk Cleanup
The presence of unnecessarily stored cache, log files, Windows Prior Installation files, and other irrelevant data may also cause the 0x0000013A error. To solve this, perform a disk Cleanup on Windows 10.
5] Run CHKDSK Utility
If the BSOD error 0x0000013A still persists, this must be due to hardware-related issues. To check whether this indeed is the case or not, run the CHKDSK command line on the Windows Console. All you need is to follow these easy steps –
- Get access to the Command Prompt with administrative privileges.
- Near the blinking cursor, type the command –
chkdsk C: /f /r /x
- Hit the Enter key on your keyboard to initiate a disk check.
- This probably won’t run and prompts doing this when the system reboots.
- Type “Y” and press Enter again.
- Now, restart Windows 10 to finally initiate the disk check.
When this completes scanning, Windows 10 OS loads containing a list of bugs and errors that it encountered.
For Desktop Users Only
In case running the CHKDSK command doesn’t reveal any issue, we suggest doing the following –
Many a time, following this simple procedure, fixes BSOD Errors on Windows 10 PC.
6] Repair Missing or Damaged System Files
The presence of corrupted data inside Windows 10 may also lead to different bugs and errors. Kernel Mode Heap Corruption Error 0x0000013A is one such bug. System File Checker is an in-built tool by Microsoft that can replace corrupted, lost, or missing DLL files. One can use this utility program even when you are not able to boot into Windows normally. Here’s how to proceed –
Case 1: When you can’t enter Windows or Safe Mode
- Enter WinRE then follow
Troubleshoot > Advanced Options > Command Prompt.
Case 2: When you can enter Windows or Safe Mode
- Use Win + R to start Run, type cmd, and jointly press Ctrl + Shift + Enter keys.
- Now that you have entered Windows Console, type “
sfc/scannow” and hit Enter.
- Wait for the SFC to find and repair corrupted DLL files. Usually, this takes 10-15 minutes.
- Once over, Restart PC to incorporate the above changes.
Sign back into Windows and check whether you still encounter the BSOD Error 0x0000013A or if it has already been fixed.
7] Look for Memory Issues
Having a bad RAM slot is another faulty reason that may erupt the KERNEL_MODE_HEAP_CORRUPTION error. This situation may arise due to sudden power surges, excessive heating, or simply motherboard issues. So, you must consider the “Memory issues” as a possibility and try fixing them (if possible). Here’s how to check for bad memory issues on Windows 10 –
- Hit the Start Menu and start typing “memory” in the search box.
- Click the well-matching result to enter Windows Memory Diagnostic.
- Choose to Restart now and check for problems.
Note: Make sure to save any ongoing process on the computer.
- The system reboots and checks for any memory issues on the computer.
- After scanning for memory problems successfully, the device restarts with a list of all “detected issues”.
Tip: You may also use the Event viewer to view the complete diagnosis report.
In case, the diagnosis doesn’t pass, you need to take appropriate measures to solve the persisting memory issues.
8] Use System Restore Points
If none of the above solutions work to resolve the 0x0000013A error, use restore points to revert back your system to an earlier state when everything was working fine. In case, you don’t have a restore point or haven’t created any system backup, perform a clean installation of Windows 10.
That’s it, if you have any queries or suggestions related to this article, ping us in the comment section.
Tip: If you are facing update, activation, or driver issues on your Windows PC, try RESTORO PC Repair Tool. This software will scan your device for potential issues and resolve them automatically.