Use efficiency to improve the memory optimization method set

  

Memory is very useful for us. How does a computer's memory usage efficiency determine its running quality, so how to optimize memory management and improve memory usage efficiency? Probably increasing the speed of operation is a concern for us. The following describes several ways to improve memory usage efficiency and optimize memory management in the Windows operating system.

1, change the location of the page file

Its purpose is mainly to maintain the continuity of virtual memory. Because the hard disk reads data by reading the magnetic material on the magnetic head, and the page file is placed in different areas on the disk, the magnetic head will jump and jump, which is not conducive to improving efficiency. Moreover, there are many system disk files, and the virtual memory is certainly not continuous, so it should be placed on other disks. To change the location of the page file: right click on “My Computer", select “properties → advanced → performance settings → advanced → change virtual memory & rdquo;, select the desired in the drive bar Go to the location. It is worth noting that after moving the page file, the original file will be deleted (the system will not delete it automatically).

2, change the size of the page file

After changing the location of the page file, we can also make some adjustments to its size. We need to pay attention to the adjustment, do not set the maximum and minimum page files to equal values. Because usually the memory will not really "stuffed", it will automatically put some temporarily unused data into the hard disk when the internal storage reaches a certain level. The larger the minimum page file, the lower the percentage and the slower the execution. The maximum page file is the limit value. Sometimes a lot of programs are opened. The memory and the minimum page file are “filled” and will automatically overflow to the maximum page file. So it is unreasonable to set the two equal. In general, the minimum page file is set smaller so that more data can be stored in memory as much as possible, which is more efficient. The maximum page file size is set larger to avoid the situation of "full staff".

3, disable page file

When you have more than 512MB of memory, the role of the page file will no longer be obvious, so we can disable it. To do this, go to the Registry Editor "HKEY_LOCAL_MACHINESystemCurrentControlSetControlSession Ma-nagerMemoryManagement" and set its value to “1” in the "DisablePa-ging Executive" option.

4, clear the page file

In the same location there is a "ClearPageFileAtShutdown (clear page file when shutting down)", the value is set to "1". The "clear" page file mentioned here does not mean that the pagefile.sys file is completely deleted from the hard disk, but it is "cleaned" and tidyed up, so that the next time you start windows xp, you can make better use of virtual Prepare the memory.

叮当评论: This article explains the concept and optimization method of virtual memory in more detail. Let us understand its working relationship between memory and hard disk, and realize that virtual memory is not as large as possible, but should be adjusted according to the specific configuration of the computer. I believe that after you really understand and master the role and optimization of virtual memory, you will definitely improve the performance of your love machine.

Copyright © Windows knowledge All Rights Reserved