How does the Windows 7 system set up virtual memory? Win7 Virtual memory settings diagram

Source: Internet
Author: User

Why to set up virtual memory

Virtual memory uses hard disk space for memory to make up for the lack of RAM space on the computer. When the actual RAM is full (actually, before Ram is full), virtual memory is created on the hard disk. When the physical memory is exhausted, the virtual memory manager chooses the lower-priority portion of memory that has not been used recently to write to the swap file. This process is hidden from the application, and the application regards virtual memory and actual memory as the same.

Each application running under WindowsNT is assigned to the 4GB of its own virtual address space (2GB to the application, 2GB to the operating system).

The problem with virtual memory is that it is much slower to read and write the hard drive than to read and write the actual RAM. This is why the program runs slowly when the NT system does not have enough memory.

Virtual memory is an active file that is linked to file data. is a "WIN386" in the Windows directory. SWP "file, this file will continue to expand and automatically shrink.

Why virtual memory is not set

XP start → control Panel → system → advanced → performance → set → advanced → virtual memory → change → custom → 1.5 times times → Set

Win7 Right click on "My Computer" → properties → advanced system settings → visual effects → settings → advanced options → modify values → settings

Saw the screenshot, the main did not select the "Custom" settings, do not forget to click the "Settings" button, otherwise it is not valid.

What is virtual memory

Virtual memory is a technology of computer system memory management. It allows the application to assume that it has contiguous memory available, but in practice it is usually separated into several pieces of physical memory, and partly temporarily stored on external disk storage for data exchange when needed. The computer lacks the random access memory required to run programs or operations, and Windows uses virtual memory for compensation, so virtual memory is critical to the operation of the computer, sharing a method for setting up Windows 7 system virtual memory.

How Windows 7 Systems set up virtual memory

First, set up virtual memory

1. Right-click "Computer" to select "Properties";

2. Select "Advanced system Settings"---"Performance"---"Setting"---"Advanced"---"Virtual memory";

3. Select "Change"---"Automatic management cancellation"---"Custom size"---"Settings"---"OK"---exit restart is set to complete.

Second, accurate virtual memory settings

1. Right click on "Computer", choose "Computer Management";

2. In "Computer Management" expand: Performance---monitoring tools---performance counters to add a memory counter to understand the peak memory footprint, and then set the virtual memory value based on that amount.

Setting virtual memory can ease some of the physical memory pressure, if you set too much virtual memory or feel the performance is not improved, only consider increasing physical memory.

What are the benefits of setting up virtual?

The function of virtual memory is to use it as a temporary "physical memory" when you have insufficient physical memory. You can take a look at the size of your memory to set the size of virtual memory, generally set to twice times the memory, so it will not produce too much fragmentation, and will not always use virtual memory frequently.

Related Article

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.