How to read the small memory dump files that Windows creates for debugging
This article was previously published under Q315263 On This PageSUMMARY
This step-by-step article describes how to examine a small memory dump file. You can use this file to determine why your computer has stopped responding. Small memory dump filesA small memory dump file records the smallest set of useful information that may help identify why your computer has stopped unexpectedly. This option requires a paging file of at least 2 megabytes (MB) on the boot volume. On computers that are running Microsoft Windows 2000 or later, Windows create a new file every time your computer stops unexpectedly. A history of these files is stored in a folder.This dump file type includes the following information:
If a second problem occurs and if Windows creates a second small memory dump file, Windows preserves the previous file. Windows gives each file a distinct, date-encoded file name. For example, Mini022900-01.dmp is the first memory dump file that was generated on February 29, 2000. Windows keeps a list of all the small memory dump files in the %SystemRoot%\Minidump folder. Configure the dump typeTo configure startup and recovery options to use the small memory dump file, follow these steps.Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.
Tools to read the small memory dump fileYou can load small memory dump files by using the Dump Check Utility (Dumpchk.exe). You can also use Dumpchk.exe to verify that a memory dump file has been created correctly. The Dump Check Utility does not require access to debugging symbols. The Dump Check Utility is included with the Microsoft Windows 2000 Support Tools and the Microsoft Windows XP Support Tools.For additional information about how to use the Dump Check Utility in Windows 2000 and in Windows NT, click the following article number to view the article in the Microsoft Knowledge Base: 156280 (http://support.microsoft.com/kb/156280/)
How to use Dumpchk.exe to check a memory dump file
For additional information about how to use the Dump Check Utility in Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:
315271 (http://support.microsoft.com/kb/315271/)
How to use Dumpchk.exe to check a memory dump file
Note The Dump Check Utility is not included in the Microsoft Windows Server 2003 Support Tools. To obtain the Dump Check Utility if you are using Microsoft Windows Server 2003, download and install the Debugging Tools for Windows package from the following Microsoft Web site: http://www.microsoft.com/whdc/devtools/debugging/default.mspx (http://www.microsoft.com/whdc/devtools/debugging/default.mspx) You can also read small memory dump files by using the WinDbg tool or the KD.exe tool. WinDbg and KD.exe are included with the latest version of the Debugging Tools for Windows package.This Web page also provides access to the downloadable symbol packages for Windows. To use the resources, create a folder on the disk drive where the downloaded local symbols or the symbol cache for symbol server use will reside. For example, use C:\Symbols. You can use the following symbol path with all the commands that are described in this article: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols If you download the symbols to a local folder, use the path of that folder as your symbol path. For more information about the dump file options in Windows, click the following article number to view the article in the Microsoft Knowledge Base: 254649 (http://support.microsoft.com/kb/254649/)
Overview of memory dump file options for Windows Server 2003, Windows XP, and Windows 2000
Install the debugging toolsTo download and install the Windows debugging tools, visit the following Microsoft Web site:http://www.microsoft.com/whdc/devtools/debugging/default.mspx (http://www.microsoft.com/whdc/devtools/debugging/default.mspx)
Select the Typical installation. By default, the installer installs the debugging tools in the following folder:
C:\Program Files\Debugging Tools for Windows Open the dump fileTo open the dump file after the installation is complete, follow these steps:
Sample CommandsYou can use the following sample commands to open the dump file. These commands assume the following:
kd -y srv*c:\symbols*http://msdl.microsoft.com/download/symbols -i c:\windows\i386 -z c:\windows\minidump\minidump.dmp
Sample 2. If you prefer the graphical version of the debugger instead of the command line version, type the following command instead:
windbg -y srv*c:\symbols*http://msdl.microsoft.com/download/symbols -i c:\windows\i386 -z c:\windows\minidump\minidump.dmp Examine the dump fileThere are several commands that you can use to gather information in the dump file, including the following commands:
For help with other commands and for complete command syntax, see the debugging tools Help documentation. The debugging tools Help documentation can be found in the following location: C:\Program Files\Debugging Tools for Windows\Debugger.chm Note If you have symbol-related issues, use the Symchk utility to verify that the correct symbols are loaded correctly.
For additional information about using Symchk, click the following article number to view the article in the Microsoft Knowledge Base:
311503 (http://support.microsoft.com/kb/311503/)
Use the Microsoft Symbol Server to obtain debug symbol files
Simplify the commands by using a batch fileAfter you identify the command that you must have to load memory dumps, you can create a batch file to examine a dump file. For example, create a batch file and name it Dump.bat. Save it in the folder where the debugging tools are installed. Type the following text in the batch file:cd "c:\program files\debugging tools for windows"
When you want to examine a dump file, type the following command to pass the dump file path to the batch file: kd -y srv*c:\symbols*http://msdl.microsoft.com/download/symbols -i c:\windows\i386 -z %1 dump c:\windows\minidump\minidump.dmp APPLIES TO
| Article Translations
|
Back to the top
