Standard method for manually setting XP virtual memory

  
        When the system is running, first transfer the required instructions and data from the external memory (such as hard disk, floppy disk, CD, etc.) into the memory, and the CPU reads the instruction or data from the memory to perform the operation, and stores the operation result. In memory, sometimes when calling big data, when the hardware memory is not enough, you need to call virtual memory. This article describes how to manually set xp virtual memory.
In the default state, the system manages virtual memory, but the default management mode of the system is usually conservative. In the automatic adjustment, the page file will be discontinuous, and the reading and writing efficiency will be reduced, and the work efficiency will not be high. So, there will always be a "sufficient memory" prompt, let us set it up.
1 Right-click the "My Computer" icon on the desktop and select the "Properties" option in the right-click menu that appears to open the "System Properties" window. Click the "Advanced" tab in the window, the dialog box for advanced settings appears (Figure 1);

Figure 1 2 Click the "Settings" button in the "Performance" area, in the "Performance Options" window that appears Select the "Advanced" tab to open its dialog. 3 In the dialog box, you can see the area about virtual memory. Click the “Change” button to enter the setting window of “Virtual Memory”. Select a partition with a larger free capacity, check the box in front of "Custom Size", fill in the specific values ​​in the "Initial Size" and "Maximum" columns, and then click the "Settings → OK" button. Yes (Figure 2), finally restart the computer to make the virtual memory settings take effect.

Figure 2 The above is the setting method of virtual memory in Windows XP operating system, the author also briefly mentions the settings in the Windows 98 operating system:
In Windows 98 system, enter "Start → Settings → Control Panel → System → Performance → Virtual Memory. In the pop-up dialog box, select the “User-specified virtual memory setting” option, set the virtual memory location in the appropriate partition, and set the minimum virtual memory. The value and maximum value are finally completed by clicking the "OK" button (Figure 3).

Figure 3 suggestion: You can divide a small partition specifically for virtual memory, IE temporary file storage, etc., you can periodically defragment the partition, which can improve the computer's work efficiency. Tailor-made virtual memory
1. Common setting method According to the general setting method, the minimum and maximum values ​​of the virtual memory swap file can be set to 1.5 times the memory capacity, but if the memory itself has a large capacity, such as memory It is 512MB, so the space it takes up is also very impressive. So we can set the basic value of virtual memory in this way: the memory capacity is less than 256MB, it is set to 1.5 times; above 512MB, set to half of the memory capacity; between 256MB and 512MB is set to the same value as the memory capacity .
2. Precise setting method
Because each person's actual application is not the same, for example, some people want to run large programs such as 3DMAX, Photoshop, etc., and some people may just type and play small games, so The requirements for virtual memory are not the same, so we need to accurately set the value of the virtual memory space according to local conditions.
1 first set the virtual memory's "initial size" and "maximum value" to two identical values, such as 500MB;
2 and then open "Control Panel → Administrative Tools → Performance" in order to appear In the "Performance" dialog box, expand "Performance Logs and Alarms" in the left column, select the "Counter Log" under it, right click in the blank space in the right column, and select "New Log Settings" in the right-click menu. Option;
3 Fill in any name in the "Name" column of the pop-up dialog box, such as "Virtual Memory Test". Click the "Add Counter" button in the window to go to the next window;
4 In the window, open the "Performance Object" drop-down list, select "Paging File", and select "Select Counter from List". In the lower column, select "%Usage Peak"; check "Select sample from list", select "_Total" in the lower column, and then click "Add → Close" to end (Figure 4).

Figure 4 5 In order to view the log file conveniently, you can open the "Log File" tab, select "Log File Type" as "Text File", and finally click the "OK" button to return to "Performance" "Main interface; 6 in the right column can be found a "virtual memory test" project, if the project is red, it means that it has not been activated, click on the item, select the "Start" option in the right-click menu (Figure 5).

Figure 5 Next, run some of your favorite applications. After running for a while, enter the default directory "PerfLogs" under the system partition where the log file is located, find "virtual memory test _000001.csv" and use Notepad. The program opens it (Figure 6). In this content, we look at the penultimate value in each column. This value is the usage ratio of the virtual memory. Find the maximum value of this value, such as "46" in the figure. Multiply 46% by 500MB (the previously set virtual memory value) to get a value of 230MB.

Figure 6 With this value, the initial size can be set to 230MB, and the maximum value can be freely set according to the amount of disk space. It is generally recommended to set it to 2 to 3 times the minimum value. In this way, we can make the virtual memory more precise and make our love machine run more smoothly and more efficiently.

Copyright © Windows knowledge All Rights Reserved