Guest viewing is limited

Tips & Tricks How to set Pagefile.sys limit on Windows 10 (1 Viewer)

sohail1968

Night Rider
Staff member
Aug 4, 2021
7,216
1,321
143
Pakistan
Offline
One possible cause of the Blue Screen of Windows 10 computer is the problem around Pagefile.sys. By default, Windows 10 manages Pagefile.sys automatically.

If you want to set up Pagefile.sys yourself, read the article below to make sure your computer works safely.

What is Pagefile?​

Pagefile is a hidden system file on your hard drive, used to compensate for low amounts of RAM. Pagefile acts as an extension to RAM. Data that cannot be processed in RAM will be stored in the Pagefile and wait until the RAM has enough free space. This is also where the operating system automatically places files and logs in case the system crashes.
Pagefile is hidden in the system drive, you can see it when you choose to show Hidden items.
Picture 1 of How to set Pagefile.sys limit on Windows 10

And that is the function of the Pagefile, now let's learn about the optimal size of a Pagefile.

How big is the Pagefile.sys size?​

Since the Pagefile is directly linked to the system RAM, its size is managed by Windows itself. If the PC has a lot of RAM, the Pagefile is not even used. In the case of a PC with little RAM, the Pagefile size can be significantly large and take up the hard drive.
Therefore, to set the appropriate Pagefile size for your computer, please refer to the following criteria:
  1. The PC should have a minimum Pagefile size equal to the RAM, plus 257 MB. That is, if your system RAM is 8G, then the Pagefile size should be at 8449 MB or more.
  2. If you want the Pagefile to be maximized, its size should only be 3 times the amount of system RAM. If its value is set too large, it will take up a lot of storage space on your computer.
In addition, we also have a way to determine exactly how much Pagefile is right for your PC:
Step 1: Open your computer as usual, then run all the programs and applications you regularly use to put the PC into the most active state.

Step 2: You find 'performance monitor' in the search bar and open this application.
Picture 2 of How to set Pagefile.sys limit on Windows 10

Step 3: When the window appears, in the left pane, open Monitoring Tools >> Performance Monitor.
Picture 3 of How to set Pagefile.sys limit on Windows 10

Step 4: In the chart on the right, right-click on any empty space and select Add Counter…
Picture 4 of How to set Pagefile.sys limit on Windows 10

Step 5: In the Available counters section, expand Paging File >> % Usage >> Add at the bottom.
Picture 5 of How to set Pagefile.sys limit on Windows 10

Step 6: Make sure counter % Usage has been added to the right pane, now click OK.
Picture 6 of How to set Pagefile.sys limit on Windows 10

Step 7: Now, you will see the parameters appear below the chart, shown in MB. In my case the number was around 1700MB.
Based on that to find your Pagefile size, it needs to be larger than the space being used.

And the next problem you need to find out is: how to resize Pagefile?

How to set Pagefile size limit in Windows 10​

Step 1: You press Windows + I to open Settings, navigate to System.
Picture 7 of How to set Pagefile.sys limit on Windows 10

Step 2: Scroll down the menu to select About >> Advanced system settings.
Picture 8 of How to set Pagefile.sys limit on Windows 10

Step 3: In the window that appears, switch to the Advanced tab, then select Settings… under Performance.
Picture 9 of How to set Pagefile.sys limit on Windows 10

Step 4: In the Performance Options window, continue to switch to the Advanced >> Change tab.
Picture 10 of How to set Pagefile.sys limit on Windows 10

Step 5: You uncheck the box Automatically manage paging file size for all drives.
Picture 11 of How to set Pagefile.sys limit on Windows 10

Step 6: Check the Custom size box and enter the minimum and maximum parameters for the desired Pagefile size.
Picture 12 of How to set Pagefile.sys limit on Windows 10

Step 7: Finally press Set and OK. Then restart your computer for the change to take effect.
Picture 13 of How to set Pagefile.sys limit on Windows 10

For an important PC and requires powerful processing power, you should equip more RAM, it will help process data much faster than a hard drive. But for computers that do not require too much, you just need to install the Pagefile as instructed above.
 

Users who are viewing this thread

34,181Threads
46,243Messages
8,651Members
Top