Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums

Go Back   Vista Forums > Vista Forums > Tutorials

Virtual Memory Paging File - Change

Poll: Did this Tutorial help and work for you?
Poll Options
Did this Tutorial help and work for you?

Comment
 
Tutorial Tools Display Modes
<!-- google_ad_section_start -->Virtual Memory Paging File - Change<!-- google_ad_section_end -->
Virtual Memory Paging File - Change
How to Change the Virtual Memory Paging File in Vista
Published by Brink
02-18-2008

How to Change the Virtual Memory Paging File in Vista

INFO: If your computer lacks the random access memory (RAM) needed to run a program or operation, Vista uses virtual memory to compensate. Virtual memory combines your computer’s RAM with temporary space on your hard drive. When RAM runs low, virtual memory moves data from RAM to a space called a paging file. Moving data to and from the paging file frees up the RAM to complete its work. By default Vista will manage virtual memory automatically. This will show you how to manually change the size of the paging file.

NOTE: The more RAM your computer has, the faster your programs will generally run since Vista may not have to use virtual memory as often. If a lack of RAM is slowing your computer, you might be tempted to increase virtual memory to compensate. However, your computer can read data from RAM much more quickly than from a hard disk, so adding RAM is a better solution. Plus, Vista usually does a great job at managing virtual memory for you.

FILE LOCATION: C:\pagefile.sys
NOTE: This is a hidden protected operating system file. To be able to see it, see Option Two here: How to Hide or Show Hidden Files and Folders in Vista

WARNING: If you receive error messages that warn of low virtual memory, you need to either add more RAM or increase the size of your paging file so that you can run the programs on your computer. Vista manages the size automatically, but you can manually change the size of virtual memory if the default size is not enough for your needs or you wish to change what drive is used for the paging file.

RELATED LINKS:
1. How to Start the Memory Diagnostics Tool in Vista

2. How to Disable or Enable Vista Services With a Advice Guide

3. How to Use ReadyBoost in Vista

4. How to Change What Superfetch will Preload in Vista

5. How to Disable or Enable Superfetch in Vista

6. How to Enable or Disable Clear Virtual Memory Paging File at Shutdown in Vista


Here's How:
1. Open the Start Menu.
A) Right click on Computer and click Properties.
B) Go to step 3.

OR

2. Open the Control Panel (Classic View).
A) Click on the System icon.

3. Click on Advanced system settings. (See screenshot below)
NOTE: While your here, note how much Memory (RAM) you have installed under the System section.

System.jpg

4. Click Continue for UAC prompt.
5. In the Advanced tab, click on the Settings button in the Performance section. (See screenshot below)

Advanced_System_Properties.jpg

6. Click on the Advanced tab. (See screenshot below)
7. Under Virtual memory, click on the Change button.

Advanced_Performance_Options.jpg

8. To Turn Off Automatic Virtual Memory Management for All Drives -
A) Uncheck the Automatically manage paging file size for all drives box. (See left screenshot below step 9)
NOTE: This turns off automatic virtual memory management by Vista so you can manually change the drive and size to what you want instead.

B) Go to step 10.

9. To Turn On Automatic Virtual Memory Management for All Drives -
A) Check the Automatically manage paging file size for all drives box. (See right screenshot below)
B) Click OK.
C) Go to step 15.

Automatic_Yes_No.jpgAutomatic_Yes_No2.jpg

10. To Select a Drive to Add or Change the Paging File -
NOTE: By default, Vista uses the same drive letter that it is installed on. This system drive is usually the C: drive.
WARNING: If you have another drive listed and want to use it instead, then make sure it is as fast or faster than the drive Vista is installed on. Make sure you only use a separate hard drive, not another partition on the same hard drive as Vista is installed on. This will cause a decrease in performance if you do.

A) Click on a listed hard drive you want to change or add a paging file to for Vista to use. (See right sceenshot above)

11. To Have a Custom Paging File Size for the Selected Drive -
NOTE: You would do this if you do not want to use the automatic system managed size by Vista.

A) Dot Custom size. (See screenshots below step 15)
B) Type in a size for the Initial size in MB.
NOTE: This usually would be the amount of RAM installed on your computer plus 300 MB. (1 GB = 1024 MB)

C) Type in a size for the Maximum size in MB.
NOTE: This usually would be 2.5 to 3 times the amount of RAM installed on your computer.

D) Go to step 14.

12. To Have a System Managed Paging File Size for the Selected Drive -
NOTE: This will let Vista automatically manage the size of the paging file for this selected drive as needed.

A) Dot System managed size. (See screenshots below step 9)
B) Go to step 14.

13. To Remove the Paging File from the Selected Drive -
WARNING: Make sure that you have at least one drive selected to have a paging file on. Otherwise your computer may slow down dramatically.
NOTE: You would usually only do this if you have more than one drive that you already added a paging file to from step 11 above.

A) Dot No paging file. (See screenshots below step 15)

14. Click the Set button. (See left screenshot below)
NOTE: Repeat steps 10 to 14 if you would like to make more changes to the paging file, or add a paging file to another listed drive.

15. Click OK. (See right screenshot below)

Custom.jpgCustom2.jpg

16. If the Paging File Size was Decreased -
NOTE: If the paging file was decreased, the computer will need to be restarted before the changes can be applied. You will not see this if you increased the size.

A) Click OK. (See screenshot below)

Decrease_OK.jpg

17. Click OK. (See screenshot below step 7)
18. Click OK. (See screen shot below step 5)

19. If the Paging File Size was Decreased -
NOTE: You will not see this if you increased the size.

A) Click Restart Now. (See screenshot below)
NOTE: Be sure to save and close anything open first. This will restart the computer immediately.

Restart_Now.jpg


That's it,
Shawn
Published by
Brink's Avatar
Administrator
Join Date: Apr 2007
Location: Texas, USA
Posts: 12,919
Rep Power: 200
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Rating
Skill Level
100%100%100%
5

Page copy protected against web site content infringement by Copyscape

Old 02-22-2008  
MicroMan
Junior Member
MicroMan is on a distinguished road
 
Join Date: Feb 2008
Vista Home Basic 32bit
Posts: 11

Re: Virtual Memory Paging File - Change

I followed this just for the heck of it.

I have Vista Home Basic.

I increased the min and max, I was told I needed to restart. The tut says restart ONLY if decreased.
MicroMan is offline   Reply With Quote
Old 02-22-2008  
Brink
Administrator
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
 
Brink's Avatar
 
Join Date: Apr 2007
Vista x64 Ultimate SP1
Posts: 12,919

Location: Texas, USA
Re: Virtual Memory Paging File - Change

Hi MicroMan,

Interesting. I just played with mine some more, and I could only get the restart if I decreased the min/max. I even tried multiple increases in a row, but still had no restart notice.

What were your numbers originally, and what did you increase them to? I'll try that and see if I can trigger a restart notice. Include any other details you think may apply to.

Thank you,
Shawn

There are no dumb questions, just the people that do not ask them.
Please post feedback to help others.
Brink is offline   Reply With Quote
Old 02-22-2008  
MicroMan
Junior Member
MicroMan is on a distinguished road
 
Join Date: Feb 2008
Vista Home Basic 32bit
Posts: 11

Re: Virtual Memory Paging File - Change

it was somewhere around 3300 to start, sorry I didn't keep track.

I uped it to 4500-7000, then changed it again to 5000-7000. That's where it's at after reboot.
MicroMan is offline   Reply With Quote
Old 02-22-2008  
Brink
Administrator
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
 
Brink's Avatar
 
Join Date: Apr 2007
Vista x64 Ultimate SP1
Posts: 12,919

Location: Texas, USA
Re: Virtual Memory Paging File - Change

I'm not sure what may have triggered the restart for you since you only increased the sizes. I tried with what you stated and still did not get a restart notice. Must be a fluke. If you increase it more again, does it give you a restart notice?

Shawn

There are no dumb questions, just the people that do not ask them.
Please post feedback to help others.
Brink is offline   Reply With Quote
 
Comment

Tags
paging, page, memory, file, virtual

Tutorial Tools
Display Modes









Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Vistax64.com 2005-2008
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48