How to configure the virtual memory in Windows Vista


In simple words, Virtual Memory is system memory that is simulated by the operating system and it is placed on your hard drive. It combines your computer's RAM with temporary space on your disk. When your PC runs low on RAM, virtual memory moves data from RAM to a space called the paging file or swap file. Moving the data frees up your RAM and your applications can continue to run without crashes.

If you don't have too much RAM installed on your system it can be a good a idea to increase the size of your virtual memory. If you are like me, you might still want to configure the size of the swap/paging file or it's location, even if your PC has plenty of RAM available.

As you will see, configuring the virtual memory in Windows Vista is easy. Just follow these steps:

First, go to your Desktop and right click on Computer. From the right click menu select Properties.

Computer

In the System window, click on Advanced system settings.

Virtual Memory

The System Properties window will open directly at the Advanced tab. Go to the Performance section and click on the Settings button highlighted in the screenshot below.

Virtual Memory

In the Performance Options window you will see the current size of the swap/paging file. To configure it click on Change.

Virtual Memory

By default, Windows Vista manages the paging file size for all your drives. To change this, first you need to deselect the checkbox from the top.

Virtual Memory

You can customize the paging file size for each of your drives. By default, the paging file is placed on the "C:" drive and it's automatically managed by the system. If you want to use another partition, select "C:", check the No paging file option and click on Set.

Virtual Memory

Now you need Windows Vista to create the paging file on another partition. Click on the partition you prefer and then select Custom size or System managed size.

Virtual Memory

If you want to have a custom size paging file you will need to type the initial and the maximum size. For the initial size you should have a few hundred megabytes (usually something close to the amount of RAM installed) and for the maximum size approximately 2.5 - 3 times the size of your RAM.
Some enthusiasts recommended using a fixed size paging file (the same initial and maximum size). If you want to go for this approach the size should be 2.5 - 3 times the size of your RAM. Having a small paging file might affect the performance of your running applications, especially if you are working with applications that require lots of memory.

When you are done making all the necessary changes, click on OK. If you increased the size of the paging file, Windows Vista won't require a restart to apply the changes.
However, if you decreased the size or changed the location of the paging file you will need to restart your PC in order for the changes to take effect.


Related articles:
Increase the performance of your SATA disk drive
ReadyBoost



Comments

RE-SET VIRTUAL

HI,

A FRIEND OF MINE RE-SET MY VIRTUAL MEMORY FOR WHAT REASON I DO NOT KNOW BECAUSE MY COMPUTER WAS WORKING FINE BUT NOW IT IS SLOW. HOW CAN I RE-SET MY VIRTUAL MEORY BACK TO THE WAY THAT IT WAS? I HOPE YOU CAN HELP ME BECAUSE THIS IS A COMPUTER I BOUGHT 1 MONTH AGO. THANKS.

Read

Read and follow this tutorial. If you don't understand something tell us...

to little RAM

Hello
first, thank you for your tutorials, they are very helpful. I run the health of my computer to see why shows that I have a low amount of virtual memory. the diagnosis says that I need to physical memory or reduce system load.
my question: I wanto to configure my memory to obatin some RAM of a 1 GB on my XPS m121o dell windows Vista, what is the minimun and maximun of size I should customize my computer? i know you said 2.5 -3 the size of my RAM, whichs I GB, but exactly how much would be in terms of gigabytes?
also, it is tru that this change will slow down the way the computer run programs and aplications? thank for your help. sergio.
\

A paging file on a 2nd HD is

A paging file on a 2nd HD is always good. The reason for this is that if the OS reads files from HD1 it can extend/update the paging file on HD2 without a delay. Otherwise the read/writes would be on the same disk and block each other.

In any case. In my opinion no paging file can be as good as enough real memory. I have been using WinXP for many years with the paging file disabled. Only if I use some memory hungry games I enable it. But this is not very often. But you should have at least 1 GB memory to disable the paging file. All the formulas with the paging file sizes according the installed memory are garbage. They tell you if you have a big amount of memory you need a big paging file. Cannot be more stupid. It is the other way round. If you have enough memory there is no need for a paging file. The paging file is just a bad solution to get around the memory problem. Start WinXP or Vista with 128 MB memory and you will understand me...

MOVING Vista's (xp) Paging files to another virtual disk??

Bill

That is a great question. By default Drice C is the paging disk... VIRTUAL DISKS are just other particians on disk C. Thus to move the paging file to another vitual disk offers NO ADVANTAGE.

If you had a second physical disk then you would offload this task from C and save time by moving the seaking of the heads for paging to the second disk.

Here is a link to the procedure should such you wish to set swap pagefiles to the second/other physicial disk

http://mintywhite.com/tech/vista/performance-boost-move-page-file-to-ano...

ALSO BE WARNED THIS IS an example for VISTA ONLY... Moving the pagefile on XP I have read requires an extra step or two to avoid destroyiing your ability to boot.
HEre is information on XP pagefiles and physical disks...

http://www.windowsdevcenter.com/pub/a/windows/2004/04/27/pagefile.html

http://support.microsoft.com/kb/307886

Best Regards

Charlie

PAGING FILE SIZE

Hi,

What if you have 10 gig of memory, what size should I use for the paging file ?

Drivers

Go to the Toshiba website and download all the drivers needed for your laptop model. Then you can install the English version and your drivers. :)

Virtual Memory vs Pagefile / Swapfile

You might wanna check this out... on the real meaning of Virtual Memory

...this is a RAM related

...this is a RAM related thread, tweaking your ram will not make your "internet" faster.

hahaha

"extremely slow dial-up" is self-explanatory, it's time to move on to broadband like the rest of the nation.
DSL is a cheap alternative.

changing the default setting

changing the default setting is not a good idea as vista manages the pagefile size automaticaly and it will adapt to your workload but if you try turning it off or change the default things may not work as good as before,i know i have tried it and the default settings works great.also dial up is slow and ram has nothing to do with how fast your connection is.

re?

is it possible to have a flash disk as a virtual memory location??instead of hard disk?

very useful article thanks

very useful article
thanks for telling how to increase the swap file size

A side note

I would definitely recommend the posters to clarify that the page file should not be moved to another partition on the same hard drive, it will decrease write times and only result in the system slowing down.

As a recommendation for the average user, setting the page file to "system managed size" is best, it allows the OS to be the judge of requirements. I would caution against disabling the pagefile, as some programs may require it in order to operate ie Photoshop.

how would I go about using

how would I go about using virtual memory on my one hard drive? at the moment I have 4 gigs but I want to get 6 and I dont have 2 drives would I just set up a custom size if so what would the numbers be for initial and maximum

Accurate - Helpful - To The Point - THANKS!

Accurate - Helpful - To The Point - THANKS!

My laptop is running much faster as we speak (type).

Easy to follow instructions and visuals.

It would be great if all computer help pages were of this caliber. Thanks.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options