The concept of virtual memory is relative to physical memory, when the system's physical memory space to make ends meet, the operating system will be a disk space on the hard disk as memory use, this part of the hard disk space is called virtual memory. Windows 98 takes the form of a WIN386.SWP file, while Windows 2000/xp manages virtual memory in the form of a paging file Pagefile.sys.
I. Size and situation
1. General circumstances
In general, it is recommended that Windows come from dynamic allocation management virtual memory, which dynamically adjusts the size of virtual memory based on the actual memory usage.
2. About the minimum value
The minimum value for the Windows recommended paging file should be 12MB for the current system physical memory, and for users with less than 256MB physical memory, it is recommended that the minimum value for the paging file be larger:
① users with 128MB or less memory, it is recommended to set the current physical memory capacity by 1.75 times times the minimum value of the paging file.
② a user with a memory size between 128MB and 256MB, it is recommended to set the current physical memory capacity to a minimum of 1.5 times times the paging file.
3. For maximum value
In general, the larger the maximum size of the paging file is, the better, the recommended setting is 2 to 3 times times the minimum value.
4. Extreme situations
If the hard disk space is more tense, when setting the paging file, just make sure it is not less than 3/4 of the physical memory.
If the physical memory is large (greater than 512MB), virtual memory can be disabled. (Shanghai Zinyavi)
5. According to the different task environment setting
① environment with a major game
3D games for CPU, graphics and memory requirements are very high, if the physical memory is less than 256MB, it is recommended that virtual memory preset a bit larger, which is helpful to improve the stability and fluency of the game.
② to play video as the main environment
Video apps have a lot of "appetite" for hard disk space, but don't set the virtual memory up as much as you would in a 3D gaming environment, especially for Windows XP users. Because Windows XP does not automatically release unwanted space, that means the Pagefiles.sys file will grow larger. If you put virtual memory and Windows XP in the same partition, playing RM, ASF and other video streaming files, the system will often prompt you to set the virtual memory too small or insufficient disk space. View the paging file at this point, already 1GB size. Therefore, Windows XP users who often appreciate video files are advised to set their initial values smaller, or to transfer virtual memory to partitions outside the system disk.
Second, set up the method
The following example describes how virtual memory is set up by transferring virtual memory under Windows XP: Go to "open → control Panel → system", select the "Advanced" tab, click the "Settings" button in the "Performance" bar, select the "Advanced" tab, click the "Change" button in the "Virtual Memory" bar, You can go to the Virtual Memory window and select the system letter in the Drive list. Then check the "No paging file" option, click the "Settings" button, then click on the other partitions, select the "Custom Size" option, in the "Initial size" and "maximum" set the value, and then click the "Settings" button, and finally click "OK" button to exit.