Analysis on memory parameters Private (submit size) and working set (work settings) in Task Manager

Source: Internet
Author: User

Analysis on memory parameters Private (submit size) and working set (work setting) in Task Manager two important memory-related indicators Private (submit size) in Task Manager) and working set ). As shown in:

These two indicators are called Private Bytes and Working Set in process explorer.

In VMMap, they are called Private and Total Working sets respectively. I also use Private and working set to name them here. Www.2cto.com they are often used to identify how much memory a process occupies. Do you know what they represent? Private indicates that only the current process is affected when you modify it. (This also applies when the page of the copy-on-wirte attribute has not been modified ). This type includes the copy-on-write part of Heap, stack, and image. Private is the concept of virtual memory. Its corresponding memory may be backed up by physical memory or paging file backup. For example, when a 100 MB memory is created using new, the private space is increased by MB. However, before this memory is accessed, it is actually paging file backup, and the physical memory is not actually occupied. (Obtained from testing in win7) Working set refers to the physical memory. However, this physical memory includes both the Private physical memory (Private Working set) of the current process ). It also includes the Working set (Sharable Working Set) that can be shared ). Private Working Set is a part of the previous Private, and the other part of Private is backed up by paging file. In VMMap, another concept is Committed, which is also the concept of virtual memory. In fact, it can be divided into Private virtual memory and shared virtual memory. The physical memory backup part of the shared virtual memory is the sharable working set. Www.2cto.com: from the Private and shareable perspective: Committed = Private virtual memory + sharable virtual memory from what back up memory: committed = memory backed by paging file + working set Private Virtual Memory = Private Working set + private memory backed by paging fileWorking set = private working set + sharable working set prepared by pipilu.

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.