Memory optimization tips for tuning the paging file

Source: Internet
Author: User

Windows system memory optimization techniques, how to optimize the management of memory, here is an introduction to adjust the page file to improve the use of memory efficiency, as much as possible to improve the speed of running, is every computer learning want to know things. Here are a few ways to improve the efficiency of memory usage and optimize memory management in Windows operating systems.

1. Location of RCN paging file

The RCN paging file is designed to maintain virtual memory and reduce the runout of the head. Because the hard drive reads the data is by the magnetic head in the magnetism material reads, the page file puts on the disk the different area, the head must be regular in the different, naturally does not favor the exaltation efficiency.

If there are a lot of system disk files, these virtual memory may not be used, so to put it on the less-beating disk, this will change the location of the paging file.

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 you want to change to. Because the system does not automatically delete the original paging file, you have to manually delete the original paging file.

2. Change the size of the paging file

After changing the location of the paging file, you should also make some adjustments to the size of the paging file. 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.

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, go to Registry Editor "Hkey_local_machinesystemcurrentcontrolsetcontrolsession Ma-nagermemorymanagement", and in the Disablepa-ging Executive (Disable paging file) option to set its value to "1".

4. Frequently empty page files

Typically, there is a "clearpagefileatshutdown (clear paging file on shutdown)" At the same location in the paging file, setting this value to "1". The "purge" paging file here is not meant to completely remove the Pagefile.sys file from the hard disk, but to "clean" and organize it, so that you can better prepare for the next time you start Windows XP with virtual memory.

5. Increase Cache Area

You can set the percentage of the system to take advantage of the cache on the primary uses tab of the computer. If the system has more memory, select Network server, so the system will use more memory as the cache. In the CD-ROM label, you can directly adjust how much memory the system uses to read and write to the CD-ROM disc.

6. Monitor the usage of memory at any time

The system's memory, no matter how big, will always run out. Although there is virtual memory, but because the hard drive can not read and write speed compared with the speed of memory, so when using memory, you need to monitor the use of memory at all times. A System Monitor is available in the Windows operating system to monitor memory usage. In general, if only 60% of the memory resources available, then you should pay attention to adjust the memory, otherwise it will seriously affect the computer's operating speed and system performance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.