Tweak Windows Vista Virtual Memory (Change or Disable Paging File Size)

Memory or RAM is very important for normal operating of computer, as all computer programs and processes will have to execute through system memory. If user is running too many applications, especially resource intensive large programs that consume huge amount of memory, the memory will be used up and causing system to be running out of memory. To prevent instability and possible system halt due to insufficient memory, Windows operating system, including Vista, makes use of virtual memory technology.

Virtual memory works by allowing memory to be physically fragmented and overflow on to disk storage space while a software program still assuming that it’s running smooth without problem on a contiguous working memory. Windows Vista accesses the needed memory as virtual memory in page file (pagefile.sys) on local system drive, which used to store page cache and swap or transfer unused inactive memory space to ordinary disk file. The default location of the page file is in the root directory of the partition where Windows is installed.

Virtual memory or paging implementation in Windows Vista ensures that the operating system can properly handle and open large set of data that does not fit into physical memory. As a result, the paging file in Windows Vista can grows in size over time. However, uers can tune and configure Windows Vista to use free space on any available drives for page files storage, set a minimum and maximum size allowed for the paging files, or simply turn off virtual memory paging feature. The following guide will show you how to tweak virtual memory settings in Windows Vista by setting the size of paging file (pagefile.sys).

  1. Open Control Panel -> System and Maintenance -> System.
  2. In the left “Tasks”, click on Advanced System Settings.
  3. You should come to “Advanced” tab. In “Performance” section, click on Settings button.
  4. Click on Advanced tab.
  5. In the “Virtual Memory” section, click on Change button.
  6. By default, “Automatically manage paging file size for all drives” setting is selected so that Windows Vista system can manage the paging file without user’s interruption. If you want change the paging file size, move the pagefile.sys to another drive, or disable virtual memory paging, uncheck the check box of Automatically manage paging file size for all drives.
  7. Select and highlight the appropriate drive that users want to change the paging file settings under the box of “Drive [Volume Label]“.

    Virtual Memory Settings

  8. To fix a permanent size for the paging file, click on Custom size button, and set the values of Initial Size (MB) and Maximum Size (MB). Both values can be of same size to make the size of pagefile.sys static. Then click on Set button.

    System managed size is useful for users who do not want pagefile.sys to locate on system drive root and want to move its storage location to another drive, but still want Vista to dynamically manage and allocate the drive space for the paging usage.

    To move the paging file to another drive, click on No paging file radio button, and click on Set button. Then select a different drive to set a new pagefile.sys with custom size or system managed size.

    To disable paging file or virtual memory, simply set no paging files on all drives.

6 Responses to “Tweak Windows Vista Virtual Memory (Change or Disable Paging File Size)”

  1. Larry Miller
    March 27th, 2009 04:01
    6

    There is considerable confusion in the article and comments concerning both the pagefile and virtual memory. Virtual memory is NOT the pagefile, disabling the pagefile will not disable virtual memory and it will not prevent paging. Virtual memory is a system in which the pagefile is a component. Applications use virtual memory exclusively – no exceptions.

    The pagefile is used to store rarely used modified data, thus leaving more RAM for more important uses. It is not used for executable files, DLL’s etc., as they can be restored from the original files. The pagefile was designed to improve performance, not merely to make up for a shortage in RAM. It is not an extension to physical memory.

    Virtual memory is a mature technology, having been in regular use in large systems for almost 40 years. It was not invented by Microsoft as some people seem to think.

    Best advice concerning the pagefile: leave it alone unless there is a specific need to change it. Windows designers know more about memory management than you do.

    Larry Miller
    Microsoft MCSA

  2. j
    February 18th, 2009 00:19
    5

    If I set no paging file and apply that for all my hard drives, then still I have following text on task manager:

    Performance tab:
    System:
    paging file 460/3483mb

    Why is that, is it impossible to remove paging file on vista? Computer is restarted..

  3. Share Same Pagefile.sys Virtual Memory Paging File for Dual-Boot (Multiple) Windows to Conserve Disk Space » My Digital Life
    December 29th, 2008 01:30
    4

    [...] that you don’t want pagefile.sys to exist, select them and then set as No paging file to disable paging file storage on the drive. For the drive that contains the shared pagefile.sys, set it as Custom size (and enter [...]

  4. GInetta
    May 16th, 2008 05:49
    3

    You should not switch off page file with anything less than 3GB on Vista.
    Remember, it uses a rediculous encryption algorythm which creates great overhead and performance hits.

    If you have more than 4GB you can turn off VM without any problems.
    Remember to use the PAE switch in Boot.ini

    Cheers

  5. cheapskate vista user
    February 27th, 2008 07:39
    2

    “If your system has memory of 2G and above, it’s possible to turn off virtual memory and set no paging file at all. In fact, by doing so, Windows will probably run at faster speed. To do so, refer to guidi to manage, change or set paging file size in Vista”
    GREAT ADVICE I brought a pc for $500 that has 3 gb of ram . HATE PAGE FILE.

  6. How to Fix Shrinking Disk Space in Vista » My Digital Life
    February 26th, 2008 21:14
    1

    [...] If your system has memory of 2G and above, it’s possible to turn off virtual memory and set no paging file at all. In fact, by doing so, Windows will probably run at faster speed. To do so, refer to guidi to manage, change or set paging file size in Vista. [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

virtual memory windows 7 - windows 7 virtual memory - virtual memory settings vista - vista virtual memory - how to disable pagefile in vista - windows 7 disable page file - paging file vista - turn off virtual memory - disable page file vista - virtual memory vista - vista virtual memory settings - disable virtual memory - automatically manage paging file size for all drives - vista disable pagefile - turn off virtual memory vista - vista disable page file - disable page file windows 7 - windows vista disable page file - disable virtual memory vista - how to disable page file windows 7 - pagefile vista 64 - paging file size - virtual memory custom size - vista pagefile disable - disable virtual memory windows 7 - vmware disable page file "windows 7" - how to turn off virtual memory in vista - windows disable paging - windows vista virtual memory settings - windows vista disable pagefile - turning off virtual memory vista - disable virtual memory in windows 7 - file size - virtual memory setting vista - virtual memory paging file in vista - vista virtual memory tweak - disable pagefile vista - disable pagefiles vista - disable page file in vista - Turn off Windows Virtual Memory - turn off paging - virtual memory+vista ultimate 64 - automatically manage paging file size - best virtual memory settings vista - disable pagefile in vista - disable pagefile windows vista - over paging in vista - Turn off Paging File windows 7 - cache:hIDiZJVBtSIJ:forums.techguy.org/windows-vista/868248-event-viewer-errors-crashes.html vista event viewer crash - disable swap windows 7 -