Virtual memory function: The virtual memory technology in Windows, is to take out a part of the hard disk space to act as memory, when the memory footprint, the computer will automatically call the hard disk space to act as memory, to ease the memory tension.
Set Virtual memory manually
The default state is to let the system manage virtual memory, however, the system default settings are usually more conservative management, in the automatic adjustment will cause the paging file is not continuous, and reduce the efficiency of reading and writing, the efficiency is not high, so often appear "insufficient memory" such a hint, the following self to set it.
① the "My Computer" icon on the desktop by right-clicking the "Properties" option in the right click menu to open the System Properties window. Click the "Advanced" tab in the window and the dialog box for advanced settings appears.
② Click the Settings button in the performance area to open its dialog box by selecting the Advanced tab in the Performance Options window that appears.
③ the dialog box to see the area of virtual memory, click the "Change" button to enter the "Virtual Memory" settings window. Select a partition with larger free capacity, check the box before custom size, fill in the initial size, maximum column, then click the "set → ok" button, and then restart the computer to take effect on the virtual memory settings.
Recommendation: A small partition can be divided into a dedicated to virtual memory, ie temporary file storage and other uses, the partition can be regularly disk collation, so as to better improve the efficiency of the computer.
There are several possible "virtual memory shortages"
1, infection virus
Some viruses take up a lot of memory space when they occur, causing the system to have a memory problem. Quickly to antivirus, upgrade the virus library, and then the anti-virus measures to do a good job!
2. Improper setting of virtual memory
Improper virtual memory settings may also lead to out-of-memory problems, under normal circumstances, virtual memory size of twice times the size of physical memory, if set too small, it will affect the normal operation of the system program. Resize virtual memory to WinXP for example, right click on "My Computer", select Properties, then on the Advanced tab, click the Settings button in the performance box, switch to the Advanced tab, and then click the Change button in the Virtual memory box, and then reset the virtual memory size. It's good to reboot the system when it's done.
3. Insufficient system space
Virtual memory files are in the system disk by default, such as WinXP virtual memory file named "Pagefile.sys", if the system disk space is too small, resulting in insufficient virtual memory, there will be insufficient memory problems. The system disk must retain at least 300MB of space, of course, this value depends on the user's actual needs. Users try not to install a variety of applications in the system disk, to ensure that there is enough space for the use of virtual memory files, and it is best to put the virtual memory files on the system disk.
4, because the system user rights are not set properly
When Windows system starts on the NT kernel, the system user creates the virtual memory files for the systems. Some users use the NTFS file system for system security, but cancel the system user's "write" and "modify" permissions on the systems disk, which makes it impossible to create a virtual memory file for the system, and an out-of-memory problem occurs when running a large program. The problem is solved by simply giving the system user write and modify permissions, but this is limited to users who use the NTFS file system.
Optimization of virtual memory
1. Enable disk write caching
Right-click on My Computer to select Properties-> hardware, open Device Manager to locate the hard drive you are currently using, and right-click to select Properties. On the policy page of the hard disk properties, turn on enable write caching on disk.
This option will activate the hard drive's write cache to increase the drive's read and write speed. Note, however, that when this feature is turned on, a sudden power outage on the computer can result in irreparable data loss. Therefore, it is best to turn this feature on with UPS. Of course, if you usually use the computer do not do any important data processing work, no UPS does not matter, this function will not cause too much damage to the system.
2. Open Ultra MDA
In Device Management Select the basic/Secondary IDE controller in the IDE ATA/ATAPI controller, right-click Select Properties, and open the Advanced Settings page. The most important setup item here is "transfer Mode", which should generally be selected as "DMA (if available)".
3. Configure Recovery options
When a fatal error is encountered during Windows XP run, a snapshot of memory is saved as a file for system debugging purposes, and this file is useless for most ordinary users, but it can affect the performance of virtual memory. So it should be closed.
Right-click on My Computer, select Properties-> Advanced, click the Settings button under Performance, and select the Advanced page in Performance options. There is a "memory usage" option that, if set to system cache, Windows XP uses about 4MB of physical memory as a cache for read and write hard disks, which can greatly increase the speed of data exchange between physical and virtual memory. By default, this option is turned off, and if your computer has more physical memory, such as 256M or more, you might want to turn this option on. However, if physical memory is more stressful, the default option should be retained.