Tip & How-To about Computers & Internet

How to Maximize and Fix the Size of Your Windows Swapfile

Whenever Windows needs more memory than the RAM that you have installed, it uses some of your hard drive space as memory. This memory is referred to as virtual memory, and the space it uses on the hard drive is called the Swapfile.
At the time Microsoft incorporated the Swapfile concept into Windows, hard drive space was at a premium. We were referring to hard drive sizes in megabytes, not in terrabybes as we do today.
According, Microsoft allowed windows to dynamially change the size of the Swapfile (between pre-determined minimum and maximum values) proportional to real-time system memory requirements. This method insured that the "premium" hard drive space would be not be used by the system when there were minimal or no virtual memory requirements.
However, there is some overhead involved with this method of determining Swapfile size as Windows has to continuously allocate and de-allocate hard drive space for use by the Swapfile. Considering the size of today's hard drives, we frequently find 30 or more Gigabytes of hard drive space available (especially on today's home computers). And Swapfile requirements are usually between 1 Mb. And 1 Gb. (1 Gb. = 1,000 Mb.).
Considering the above, if you have an extra 10 or 20 Gb. of available hard drive space, why not set the minimum and maximum values of your Swapfile size to be equal, and relieve Windows of the task of managing your Swapfile size?
To do this, perform the following procedure in Windows XP:
NOTE: This procedure will be somewhat different for other operating systems.
Click on START, and then CONTROL PANEL.
Set contol panel to the "classic mode"
Double click on SYSTEM. And in the Systems Properties box, click on ADVANCED
In the Performance Box click on SETTINGS and then click on ADVANCED
In the virtual memory box click on CHANGE
NOTE: If you have more that 1 drive (volume), all will be listed. Only change the swapfile setting for the volume that presently contains the swapfile.
In the virtual memory dialog box, click on the SWAPFILE DRIVE and click on CUSTOM SIZE.
The initial and maximum sizes of the Swapfile will now be highlighted.
The maximum size should be less than 20% of the available space (listed above the swapfile sizes). If it is not, you may not want to apply this procedure as your hard drive free space is somewhat limited.
To continue, click on the INITIAL SIZE box and change the size to be the same as the size contained in the MAXIMUM SIZE box. Then click on SET and then OK.
Close all dialog boxes and re-boot your computer.

Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

1 Answer

computer is running slow, usage space is almost full

If by "usage space" you mean RAM, it is time to install more RAM, I'd recommend ~2-4GB RAM. If by usage space you mean the hard drive, clear a BUNCH of space. It will make Windows be able to use virtual memory, which will speed things up a hair.

Dec 19, 2010 | Acer Aspire 3680-2633 Notebook

1 Answer

why my skype install not contuniuse in my computer

Easy, maybe your computer does not have the needed RAM (read and write memory). Your harddrive may not be big enough. Just because a problem loads doesn't mean it will run. Verify the RAM & hard drive space required (you may have 1 Meg Ram but it could need 2 Meg Ram, You may have 20Gig Memory Hard-drive but it could use 25G hard drive space. Some newest programs need higher/bigger Ram or hard drives.

Oct 07, 2010 | Computers & Internet

1 Answer

can windows 7 be installed on asus k8v-mx mb with amd sempron 2.4 1gb ddr1ram

this is the minimum spec for Windows 7:

  • Processor: 1 GHz 32-bit or 64-bit processor
  • Memory: 1 GB of system memory
  • Hard drive: 16 GB of available disk space
  • Video card: Support for DirectX 9 graphics with 128MB memory (in order to enable Aero theme)
  • Drive: DVD-R/W drive
  • Internet connection (to download the Beta and get updates)
Its not the motherboard, its the processor speed, RAM size, and hard drive space, and video card capability that counts.Your processor speed well meets this criteria and also your RAM size is within spec for Windows 7, and im sure you will have in excess of 16GiG hard drive space. So its all down to your video card. You may need to install DirectX 9.Hope this helps :)

Feb 14, 2010 | ASUS K8V-MX Motherboard

4 Answers

My laptop keeps coming up with low memory!

Low memory usually refers to the RAM. Low space refers to the Hard Drive. You might have too many applications/programs running at the same time on your laptop. Or have an application or program that is using up too much memory. Viruses/Spyware sometimes do this to put your computer in a state that is not usable.

So what you can do is add more RAM. And check your "Task Manager" for applications and/or programs that is using too much RAM. Look under the column "Mem Usage"

Aug 17, 2008 | Toshiba Satellite A70-S249 Notebook

2 Answers

memory capacity

You seem to be a little mixed with your question,256MB refers to your memory, which applications use to work, but when you mention download space, you would be refering to your hard drive space. If you right click on My Computer, then click on explore, then look at your 'C' drive it will tell you how much space you have left. If you are running Windows XP 512MB of memory is adequate, unless you are photo or video editing, or using memory hungry programmes, in which case 1GB would be better for performance, depending on the maximum amount your motherboard will allow.

Oct 18, 2006 | Dell Dimension 4600 PC Desktop

Not finding what you are looking for?

160 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers


Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions