Windows creates memory dump and minidump files when it crashes. These files take up space on your system’s hard drive or SSD and you can delete them to free up space. Here̵
What are memory dump and minidump files?
When Windows gets a Blue Screen of Death (BSOD) error, it generates a crash file or memory dump file that contains a lot of information, such as the process threads that were active before the crash, running programs and apps, active drivers, kernel information, and event timestamps.
Windows stores a maximum of one memory dump file (usually in C:WindowsMEMORY.DMP), which is overwritten every time your system shows a blue screen. This file can be up to 800 MB in size and contains a lot of details that could be useful to a programmer or developer who needs to debug the crash.
There are also smaller minidump files, which are memory dump files that contain less detail. You can generally find these files in C:WindowsMinidump.
Unless you plan to share these files with someone or use them yourself to fix a system crash or other problem, you can safely delete them to free up space.
RELATED: Windows Memory Dumps: What Exactly Are They For?
Remove memory dumps with Windows settings
You can use Windows settings app to remove the system error memory dump files.
To open the Windows Settings app, press Windows+i and select the “System” section.
Click the “Storage” option in the left pane.
Click “Temporary Files” in the right pane.
Check the box next to “System Error Memory Dump Files” if it is not selected by default. You can also check the boxes for other options to free up more space.
Click the “Delete Files” button at the top of the window.
Windows removes the system error memory dump files from your PC.
Clear the files with Disk Cleanup
You can also launch the Disk Cleanup utility. It can delete memory dump files and other system files not listed in the Storage section of Windows Settings app.
RELATED: Is it safe to delete everything in Windows Disk Cleanup?
To get started with the Disk Cleanup utility, click Start, type “Disk Cleanup” and select “Run as administrator” in the right pane. Click “Yes” on the User Account Control prompt.
Select your Windows system drive — that’s usually the “C:” drive — and click “OK.”
Disk Cleanup calculates the amount of space you can free up by deleting different types of files.
After this is done, scroll down to check the boxes for the “System Error Memory Dump Files” and “System Error Mini Dump Files”. You can also choose other system files to delete. Then click on “OK”.
The Disk Cleanup utility removes all chosen files from your PC.
Delete the files in the command prompt
If you are comfortable using the Command Prompt, you can quickly enter a command to delete the memory dump file.
Press Windows+R to open the “Run” box, type “cmd” in the box and press Ctrl+Shift+Enter to open the command prompt with administrator privileges.
Type (or copy and paste) the following command and press Enter:
del /f /s /q %systemroot%memory.dmp
You will see a confirmation line “Deleted file” in the command prompt.
Type (or paste) the following command and press Enter to delete the minidump files:
del /f /s /q %systemroot%minidump*.*
Now you don’t have memory dump files taking up disk space – at least not until Windows gets a blue screen again.
RELATED: 10 Ways to Open Command Prompt in Windows 10