[Asset 4513622]
If you do not have lots of free space on the OS drive, you can create the smallest (16 MB) paging file on the OS drive.
Note If you create a small paging file on the OS drive, the memory.dmp file may not be created when the system crashes. In this case, consider using one of the following methods.
Method 1: Put paging files on several drives and give them priority
- Start Registry Editor.
- Locate the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management
- Double-click PagingFiles.
- Change the order of the paging files that are listed in the Value data box.
For example: Say that you have drives C and E, and drive C has less free space, and drive E has lots of free space. You can give priority to the paging file on drive E, and keep the paging file on drive C smaller.
E:\pagefile.sys 8492 8492
C:\pagefile.sys 16 16
- Close Registry Editor and restart the system.
Method 2: Use DedicatedDumpFile on another drive that has lots of free space
Note Steps 6-8, below, are optional. Perform those steps if you want to set the dedicated dump file to a specific size. If you don’t have this registry key, the system will automatically create a dump file of the correct size.
- Start Registry Editor.
- Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl
- On the Edit menu, point to New, and then select String Value.
- Change the value name to DedicatedDumpFile.
- Double-click DedicatedDumpFile, and then enter the file path.
- On the Edit menu, point to New and then select DWORD (32-bit) Value.
- Change the value name to DumpFileSize.
- Double-click DumpFileSize and enter the file size in MB. For example, if you want to capture a complete memory dump, specify it as the size of RAM+300 MB. If your system has 8 GB of RAM, you have to specify 8492 (MB).
- Close Registry Editor and restart the system.