How to generate a kernel or a complete memory dump file in Windows Server 2008
INTRODUCTION
This explains how to generate, collect, verify, and examine kernel and complete memory dump files from a Windows Server 2008-based system.
MORE INFORMATION
Paging file
Generally, for regular functionality of Windows Server 2008-based PC, you would place the paging file size on server. Based on what type of memory dump file that you are attempting to gather, minimum size of paging file will be different. Windows Server 2008 has three choices for memory dump files:
• Small Memory Dump (64 KB for a 32-bit operating system, 128 KB for a 64-bit operating system)
• Kernel Memory Dump
• Complete Memory Dump
Step 1: Create a paging file
1. Click Start, right-click Computer, and then click Properties.
2. Click Advanced system settings on the System page, and then click the Advanced tab.
3. Click Settings under the Performance area.
4. Click the Advanced tab, and then click Change under the Virtual memory area.
5. Choose the system partition where the operating system is installed.
6. Set the value of Initial size and Maximum size to the amount of physical RAM that is installed plus 1 megabyte (MB) under the Custom Size button.
7. Click Set, and then click OK three times.
Partition size
In Windows Server 2003 or previous versions of Windows, the partition on which operating system is installed must be no less than the size of RAM fixed plus 1 megabyte (MB). For Windows Server 2008, you should decrease the physical memory of PC to create a valid finish of memory dump file. If PC has more than 4 GB of physical memory or if there is not sufficient disk space for paging file on the partition on which the operating system is installed, you must decrease the physical RAM of PC.
On a 32-bit version of Windows Server 2008 that has Physical Address Extension (PAE) enabled, the paging file can extend beyond 4 GB (4,096 MB) in size. To check if PAE is enabled, follow the steps given below:
a. Click Start, click Run, type Regedit, and then click OK.
b. Find the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management
c. Right-click PhysicalAddressExtension, and then click Modify.
d. In the Edit DWORD Value dialog box, check the value of the PhysicalAddressExtension entry. If the value of the PhysicalAddressExtension entry is zero (0), PAE is stopped. If the value of the PhysicalAddressExtension entry is 1, PAE is enabled.
New behavior in Windows Vista and Windows Server 2008
In Windows Vista and Server 2008, paging file should be not on similar partition on which operating system is installed. To set a paging file on other partition, you should make a new registry entry named DedicatedDumpFile. You can also state size of the paging file by using a new registry entry that is called DumpFileSize. To make DedicatedDumpFile and DumpFileSize registry entries, follow the steps given below:
a. Click Start, click Run, type Regedit, and then click OK.
b. Find and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\CrashControl
c. On the Edit menu, New, and then click String Value.
d. In the details pane, type DedicatedDumpFile, and hit ENTER.
e. Right-click DedicatedDumpFile, and then click Modify.
f. In the Value data box, type <drive>:\<dedicateddumpfile.sys>, and then click OK.
g. On the Edit menu, New, and then click DWORD Value.
h. Type DumpFileSize , and hit ENTER.
i. Right-click DumpFileSize, and then click Modify.
j. In the Edit DWORD Value dialog box, click Decimal under Base.
k. In the Value data box, type proper value, and then click OK.
l. Exit Registry Editor.
Step 2: Create a complete memory dump file
1. Click Start, right-click Computer, and then click Properties.
2. Click Advanced system settings on the System page, and then click the Advanced tab.
3. Click Settings under the Writing debugging information area, and then ensure Complete memory dump is chosen.



Reply With Quote
Copyright Techfuels
Bookmarks