When investigating issues, Technical Support sometimes requires a memory dump file to trap a particular issue where a session or the entire system stops responding. Using the CTRL+SCROLL LOCK method manually produces a Windows blue screen error (see:
http://support.microsoft.com/kb/244139). This method ultimately involves restarting your computer, which is sometimes not an option.
An alternative method that leaves the server up and running is to use the Sysinternals LiveKD tool. This tool allows you to produce a Soft Memory Dump. It can capture and create a debug memory dump in the same way as CTRL+SCROLL LOCK, but without causing the server to stop responding.
To create a memory dump without manually causing your computer to stop responding and forcing a computer restart:
- Download Debugging Tools for Windows at: http://msdn.microsoft.com/en-US/windows/hardware/gg463009/.
- Run the relevant .MSI file (for example, dbg_x86_6.12.2.633.msi) and install Debugging Tools for Windows.
- Download LiveKD from: http://technet.microsoft.com/sysinternals/bb897415.aspx.
- Extract the content of LiveKD.zip to the location where your Windows Debugging Tools have been installed.
Default paths:
C:\Program Files\Debugging Tools for Windows (x86)\
C:\Program Files\Debugging Tools for Windows (x64)\
- Double-click livekd.exe.
- If you are prompted to obtain symbols automatically from Microsoft symbol server, type Y and press Enter.
- If you are prompted for the name of the folder where you want to save the symbols to be downloaded, type a local path and press Enter. Technical Support recommends the root directory. The default location is: C:\symbols
- If LiveKD does not start with double-clicks, execute it from an administrative prompt using livekd.exe -w. This process invokes WinDbg.
LiveKD starts downloading the needed symbols. This step can take a few minutes to complete.
NOTES:
- If the DOS window closes automatically, it is likely that it has failed to connect to the Microsoft symbol server. Verify your internet connection settings and return to step 3.
- If LiveKD continues to load the symbols and the prompt is on kd>, continue to the next step.
- From the prompt, type .dump /f C:\memory.dmp and press Enter.
This path indicates where the dump is saved. You might want to create a dedicated folder on the root drive to store the dump. Make sure that sufficient disk space is available; the space needed minimally needs to equal double the size of the physical memory.
- To avoid corruption, compress the memory.dmp file with WinZip or similar application.
- Upload the file as instructed by Technical Support.