If you think that your computer is too slow and lacks memory. don't rush to the store for a new bar of RAM — it's possible that the problem can be solved by increasing the special system file paging file. How to increase paging file tells the country of the Soviets.

First, let's understand what is a swap file, as it helps to increase the performance of your computer and why you may need to increase the paging file. You probably know that the computer memory stores the data and the commands that you want the CPU to perform certain operations. When the load on the RAM is too big (for example, you are trying to operate in several resource-intensive applications), it is no longer "cope" with the volume of information. Here comes to the aid of the paging file.

Fragments of memory (mostly inactive) from RAM is moved to disk in the paging file (pagefile.sys). So the RAM is freed for more important memory fragments, and less important, if necessary, are loaded from the hard disk. The process of paging memory is called swapping. and the paging file is sometimes called swap file or the swap file.

If the load is large, and the paging file is too small, the computer can start to slow down and hang. Have to either reduce the load (which is not always possible) or increase the paging file. Do not be afraid, for this you do not have to go into the registry or manipulate the command line. To change the paging file size you can use standard Windows tools .

In Windows XP to do this, click the start button, then select settings, the control Panel. Pane click System. This opens the system Properties window, select the Advanced tab, find the Performance section and click on the Options button. This opens the performance Options dialog box. It should go to the Advanced tab, find Virtual memory section and click the modify button. A window will open Virtual memory

  1. Custom size — the size of your choice (initial and maximum).
  2. The size of the choice system — the operating system will establish the optimal size of the paging file.
  3. No paging file — paging file will not be used.

Click on the Specify button, then click OK in each of the open Windows.

To increase the paging file in Windows Vista/7 also you need to go to control Panel (start — control Panel), select System in the left menu select advanced system settings. Then the sequence of actions is the same as in Windows XP. But be careful: some items may be named slightly differently (for example, to Specify a size instead of custom size).

But to improve performance of the system is not enough to increase the paging file — you need to do it wisely, i.e. to optimize your paging file. How to do it correctly?

  1. The optimal paging file size to twice or three times the amount of RAM.
  2. If your computer has multiple hard disks (not partitions, namely disks), the paging file should be placed on the disk:
    • separate from the drive system
    • least busy reading and writing information (most rarely used)
    • with the highest speed of reading and recording information
    • having the largest amount of free space (if the disk space for the paging file remained "butt", it is not necessary to place it there).
  3. If you have one hard drive that is partitioned, it is best to place the swap file on the partition that is closest to the system (for example, the system is on the disk, so the pagefile needs on the D drive).
  4. It is not necessary to disable the paging file if you have Windows Vista/7 if you have Windows XP, and the RAM less than 1 GB.
  5. Set the initial size of the paging file equal to the maximum.

But note that the paging file can't replace the RAM. because the speed of reading data from a hard disk less than that of RAM. So sometimes you just have to increase the paging file is not enough. If after increasing the paging file the system began to work faster, you will have to increase the amount of RAM.