Controlling the Size of the Windows Page File
The Windows page file is a system file stored on your disk drive at C:\pagefile.sys. The page file is used to allow virtual memory to work correctly. (Understanding virtual memory is covered under another tip.) This file is typically sized to the amount of physical memory in your computer. So, if you have 16 GB of memory in your system, the size of the page file will also be 16 GB. Windows controls this file, so it is recommended that you leave it alone.
If, for some reason, you want to control the size of the page file yourself, how you start depends on the version of Windows you are using. If you are using Windows 7, click the Start button, right-click Computer, and select Properties. A Control Panel screen appears that displays some information about your system.
If you are using Windows 8 or Windows 10, you display the same screen by displaying the Control Panel, clicking on the System and Security link, and then clicking the System link.
Regardless of the version of Windows you are using, you should now follow these steps:
- At the left side of the screen click Advanced System Settings. Windows displays the System Properties dialog box; the Advanced tab should be displayed. (See Figure 1.)

Figure 1. The Advanced tab of the System Properties dialog box.
- In the Performance area of the dialog box, click the Settings button. (This is the first of three Settings buttons in the dialog box.) Windows displays the Performance Options dialog box.
- Make sure the Advanced tab is displayed. (See Figure 2.)

Figure 2. The Advanced tab of the Performance Options dialog box.
- Click the Change button. Windows displays the Virtual Memory dialog box. (See Figure 3.)

Figure 3. The Virtual memory dialog box.
- Clear the first check box on the dialog box. (The one that specifies Windows automatically managers the paging file size.)
- In the list of drives on your system, select the drive where you want a paging file located.
- Click the Custom Size radio button.
- Specify an Initial Size and Maximum Size setting, in megabytes, for the paging file.
- Click Set.
- Repeat steps 6 through 9 for each drive on which you want a paging file.
- Click OK and close all other open dialog boxes.
- Restart your system.
Author Bio
Barry Dysert
Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." Learn more about Barry...
Changing How Tasks Appear on the Taskbar
The Windows Taskbar is much more robust than it was in previous versions of the operating system. One of its many ...
Discover More
Moving and Sizing Windows Using the Keyboard
Moving and sizing windows is a normal part of using the Windows operating system. There are times when you may want to do ...
Discover More
Understanding Indexed Search
Windows has a powerful search utility that allows you to search for files that may be scattered across separate folders ...
Discover More
Changing User Permissions for a File
All objects on your computer (e.g., files) have permissions that allow or deny various types of access. This tip shows ...
Discover More
Clearing Items from the Recently Used Documents List
You may wish to clear your Recently Used Documents list or even have them not remembered in the first place. How you ...
Discover More
Customizing File Explorer's Display
File Explorer is a powerful utility to use for navigating among your files and folders. And it can be customized a great ...
Discover More
Comments