Thursday, December 1, 2022

What is pagefile.sys? | How to Delete, Move, and Resize pagefile.sys

Windows 10 is amazingly resource-intensive. However, at times your physical RAM runs out of the capacity to run programs or processes. Microsoft works cleverly to resolve this issue by a special ‘paging file’ known as pagefile sys, or more specifically, pagefile.sys.

While RAM fails to handle all types of data, pagefile sys are designed for this specific purpose. It prevents your Windows from crashing when your system has low resources. Though not as efficient as RAM, it works well for your system.

Users often have to deal with increasing data volume and variety. That’s where pagefile sys steps in, helping them to free up some space. You have two options – either store pagefile.sys in an external disk or define a size limit.

Wondering “how to delete, move, and resize pagefile.sys?Let’s keep you covered with the required information. But before that, we should learn what is a pagefile sys.

What is pagefile.sys?

Pagefile.sys in Windows works to store the data, which should be stored in the Random Access Memory (RAM) of your computer. Think of it as a Microsoft Windows Operating System’s paging file that also stores the data in wake of a power outage.

In case your RAM does not store the data then the Hard drive or SSD (C:\pagefile.sys) receives all of the required data of your system. The size of the stored files depends upon the capacity of your system. It can vary from megabytes (MB) to gigabytes (GB).

Is it Safe to Delete pagefile.sys?

You know that pagefile has important information regarding the state of your system and running programs. Therefore, if you delete these files, some serious consequences are imminent. It will impact the stability of your system. Though the pagefile takes a huge amount of space, it is necessary for the smooth working of your PC. It stays hidden by default on Windows 10 operating system.

How to Delete pagefile.sys?

Can I delete pagefile.sys? Yes, provided you follow the following procedure.

  • To start with, open the File Explorer
  • Next, hit the “Computer” icon and opt for the “Properties” section.
  • Hit the Advanced system settings option
  • Hit the Settings option of Performance
  • Hit on the Advanced tabHow to Delete pagefile sys
  • You will see a list with Windows 10 paging file options below the Virtual Memory section. Now click on the OK button multiple times to close those screens.Windows 10 paging file option
  • After that, begin the Registry file tweaking process through the “Regedit” command in the Cortana search box.
  • Click on the entry in the search results, which refers to a Registry Editor program (regedit.exe).
  • It will open the drive, allowing you to go to the specific location given below:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management.Memory ManagementSession Manager Memory Management

  • At last, double click on the ClearPageFileAtShutdown key (located at the right-hand window) and change the default value from 0 to 1. Now, the paging file will be deleted when you shut down your device and refresh at the time of restart.

How to Move pagefile.sys?

Keen on moving pagefile sys? Here’s how to do it.

  • Start by opening the Control Panel. Afterward, look for the “Advanced System” settings.
  • Under the Advanced tab, click on Settings in the Performance section.How To Move pagefile sys
  • Now, opt for the Advanced tab in the window. Once it opens, click on the ‘Change’ button below Virtual Memory.Advanced tab
  • If you deselect ‘Automatically manage paging file size of each drive’, it’s advisable to set C: to ‘No paging file’. Following this, prefer a separate drive for the ‘System Managed File’.Automatically-manage-paging-file-size-of-each-drive
  • Ensure that you are moving the file to a different physical drive, not in the other partition of the same drive. This will help you boost your system’s performance.

How to Resize pagefile.sys?

In case you wish to resize the pagefile.sys to your specifications, follow the following steps. Mind you, you can resize the pagefile in your system so that it takes less space. However, if your system doesn’t have a high physical memory, then you need to add RAM. If you don’t consider this point, then the page file size could be too small to contain all the memory pages it requires to store.

  • The process gets underway when you deselect ‘Automatically manage paging file size of each drive’.
  • Next, opt for the custom size icon.
  • Now, select a particular number according to your requirements and specifications.
  • If you want to calculate the minimum size, then you must note down the memory usage for a few days to find out the maximum usage.
  • Now, press Ctrl, Shift, and Esc keys combination to open the Task Manager and click on Memory to get hold of the relevant details.
  • At last, multiply the maximum value of allocated memory by 1.2 and subtract the capacity of the physical RAM.

Conclusion

By now, you know how to delete, move, and resize pagefile.sys. As discussed previously, it can hold all types of data, which cannot be handled by RAM. It prevents your Windows OS from crashing in wake of low resources. We hope that you understood the process. However, feel free to ask questions in case of doubts persist.

People are also reading:

Akhil Bhadwal
Akhil Bhadwal
Creating and curating content for 7+ years now. I've worked for different organizations on various capacities and dealt with a wide range of content that includes both tech and non-tech.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles