Can I delete pagefile.sys?


  1. Posts : 319
    Microsoft Windows 7 Professional 64-bit
       #1

    Can I delete pagefile.sys?


    I have a file on my ssd called pagefile.sys it is taking up 16gb on my ssd I wanna know if it would be troublesome to delete it? I know that when my ram is full windows stores data in this file however if I delete it to get the disk space back will windows just create another one and restart the process when my ram gets full. Or will deleting cause problems with my computer or with programs on my computer.
      My Computer


  2. Posts : 231
    Windows 7 Ultimate SP1 64 bit
       #2

    Right-click My Computer,select Properties,go to Advanced system settings,click the Advanced tab and go to the Settings section.Click the Advanced tab and select Change in the Virtual Memory section.Deselect Automatically Manage Paging File Size for all Drives.Click Custom Size and enter a smaller value in the Initial Size (MB) and Maximum Size (MB) fields. Alternately, click No Paging File if you want to remove pagefile.sys entirely.Click Set. Click Yes if you receive a confirmation or warning window.Click OK to each of the windows to exit them.Restart your computer for the settings to become active.
      My Computer


  3. Posts : 1,491
    Win7 Pro-64 Bit
       #3

    If you don't use hibernate on pc then you can disable it, that will give you your ram amount back on hard drive, in your case 16 gig of space.
    Hibernate - Enable or Disable

    I would leave some of the page file in place, just a gig or 2, but that's my own personal preference.
      My Computer


  4. Posts : 40
    Windows 7 Ultimate x64
       #4

    You can probably disable the paging file altogether and never run into any problems, but i usually keep a small paging file (about 1 GB) on my root drive. (Windows uses this to write debug info in case of computer crash). And I let windows manage the size of the paging file on a secondary drive. (ideally you could make a separate partition for the paging file to avoid fragmentation, and set a maximum size).

    To save some more valuable ssd space you could disable hibernation (if you don't use it), by opening an elevated command prompt and typing:

    powercfg -h off
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:42.
Find Us