- Documentation
Elastic Compute Service
Elastic Compute Service
Best Practices
Images
Enabling Kernel-mode Dump in Windows operating system
Images
Enabling Kernel-mode Dump in Windows operating system
Enabling Kernel-mode Dump in Windows operating system
While the Kdump service is not available on Windows operating systems, you can still collect key information for fault analysis when Windows crashes by using the Kernel-mode Dump feature.
What is Kernel-mode Dump?
Kernel-mode Dump is a specific type of memory dump. It is a technique that captures computer memory content, enabling the exact state of in-memory data at a specific moment to be saved to a file. When a Windows instance encounters issues like blue screens, freezes, or crashes, dump files can be used to trace in-memory information at the time of the system crash and identify the root cause of the failure. Learn more. This section describes how to enable the Kernel-mode Dump feature. In the example provided in this section, an instance running the Windows Server 2019 64 bit operating system is used.
- Click the "Windows" button, and select "Control Panel".
- Click the "System and Security" button.
- Click the "System" button.
- In the directory tree on the left, select "Advanced system settings".
- Specify virtual memory and enable the Kernel-mode Dump feature.
- Select the "Advanced" tab, and click the "Settings" button in the "Performance" section.
- Select the "Advanced" tab, and click the "Change" button in the "Virtual memory" section.
- Clear "Automatically manage paging file size for all drives", select "Custom size", and then configure "Initial size (MB)" and "Maximum size (MB)" based on your needs.
tip
- We recommend that you configure the size of the virtual memory (that is, the system paging file Pagefile.sys) according to the following rules.
- Initial size (MB): At least 1.5 times the physical memory, but no more than 3 times the physical memory.
- Maximum size (MB): At least twice the physical memory, but no more than 4 times the physical memory.
- Make sure that the corresponding disk has enough free space to store the paging file and the subsequently generated dump files.
- After you configure the parameters, click the "Set" button to save the configuration, and then click the "OK" button to complete the operation.
- Enable the Kernel-mode Dump feature.
- Select the "Advanced" tab, and click the "Settings" button in the "Startup and Recovery" section.
- In the "System failure" section, configure the parameters described in the following table.
- After you configure the parameters, click the "OK" button.
- Click the "Apply" button, and then click the "OK" button to complete the configuration.
tip
We recommend that you regularly check the generated memory dump files to ensure that they effectively record recent system crash events. Additionally, clean up old files based on your needs to free up disk space.
Last updated: 2026.06.18 17:49:52