How to optimize the management of memory, improve the efficiency of memory use, as much as possible to improve the speed of operation, is our concern. Here are a few ways to improve the efficiency of memory usage and optimize memory management in Windows operating systems.
1, change the location of the page file
The purpose is primarily to maintain the continuity of virtual memory. Because the hard drive reads data is by the magnetic head in the magnetism material reads, the page file puts on the disk the different area, the head will jump to jump, the nature is not conducive to improve the efficiency. and the system disk files are numerous, virtual memory is certainly not continuous, so to put it on the other disk. The way to change the location of the page file is: Right click on "My Computer", select "Properties → advanced → performance set → advanced → change virtual memory", in the drive bar to select the location to change to (Figure 1) can be. It is worth noting that when the page file is moved, delete the original file (the system will not automatically delete).
Figure 1
2, change the size of the paging file
After changing the location of the paging file, we can also make some adjustments to its size (Figure 2). When adjusting, we need to be careful not to set the maximum and minimum paging file as equivalent. Because the memory is not really "stuffed", it automatically places some of the temporarily unused data on the hard disk as memory reserves reach a certain level. The larger the minimum paging file, the lower the percentage, and the slower the execution rate. The maximum paging file is the limit value, sometimes open a lot of programs, memory and the smallest paging file has been "stuffed", will automatically overflow to the maximum paging file. So it is unreasonable to set the two as equivalent. In general, the minimum paging file is smaller, which makes it more efficient to store as much data as possible in memory. The largest page file set larger, so as not to appear "full" situation.
Figure 2
3. Disable paging file
When you have more than 512MB of memory, the paging file is no longer noticeable, so we can disable it. In turn, enter the Registry Editor, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management, in the Disablepa-ging Executive (Disable paging file) option to set its value to "1" (see Figure 3).
Figure 3