Site icon 지락문화예술공작단

How to investigate Microsoft Edge’s memory usage on Windows

How to investigate Microsoft Edge’s memory usage on Windows

Performance is essential to your success, which makes it core to ours. To help ensure the browser doesn’t slow you down, we always keep performance in mind as we continue to improve Microsoft Edge. However, for the times that your browser isn’t running as expected, we want to help you understand how Microsoft Edge is using the resources on your device and when Microsoft Edge’s resource usage is unusually high so you can get back to what you want to get done.

How Microsoft Edge thinks about memory usage

The memory usage of a browser can be looked at in many ways and is dependent on several factors. Here, for Microsoft Edge, the memory metrics that we are most interested in are commit and private working set.

Commit is the total amount of private memory allocations made by a process. Each process’s commit is separate, or private to the process. These allocations may reside in random access memory (RAM), or in the page file on your hard drive. The page file is a reserved portion of your hard drive that is used as an extension of RAM for data that hasn’t been used recently. When in RAM, the commit is either in the private working set, or on lists the OS uses to manage memory, like the modified, or standby list. Commit can be seen in either the Browser Task Manager or the Windows Task Manager.

Private working set is the amount of the private memory allocations made by the process that are currently in RAM and mapped into the process. This information can only be seen in the Windows Task Manager.

Factors that impact memory usage

When investigating Microsoft Edge’s memory usage, we typically want to use commit, as that is the metric under the browser’s control. The total commit size is determined by many factors, among the most prominent are the number of tabs, extensions and ads, web page content, screen resolution, and number of browser windows.

Commit

When we start to look at the commit size of different processes, it’s helpful to understand how the factors listed above impact the commit size for each process and how the size can vary. Below you will find values typically representing the upper end of each processes’ commit size, as determined by diagnostic data sent to Microsoft Edge, as well as factors that impact each processes’ commit size.

The best method to display the browser processes commit is via the Browser Task Manger as shown in Figure 1. This method gives us the most detail about which tab and extensions are currently in use and the context to make informed decisions about commit usage. If you want to see the commit size of each of your processes, follow the steps below:

  1. Open Browser Task Manger
    1. Right click on a browser window title bar and click “Browser task manager”, or press Shift-Esc after you’ve clicked on your browser window
  2. Look at the “Memory” column for each process
  3. If the number in the “Memory” column is greater than one of the expected ranges listed above, please submit feedback through Microsoft Edge
Figure 1: Browser Task Manager

Private working set

The size of your private working set is dependent on many factors, including RAM size, other processes present on the system, which process is available for keyboard or mouse interactions, age of the process, and which background processes are playing audio/video. The private working set will never be larger than the process commit. The commit for a process will be distributed in four places, private working set, modified, standby, and the page file.

Typically, browser processes that have more than 80% of commit in the private working set, and that are not the active tab (i.e. the tab that is available for keyboard or mouse interactions), would be considered excessive, unless your device has a large amount of RAM (64 GB of RAM or more). Background tabs will have varying percentages of their commit in their private working set. How much is dependent on the system RAM size and the private working set of other processes on the system. Tabs that are in the background for extended periods (several hours or more) or are sleeping will have only a small percentage of their commit in private working set.

However, private working sets can remain high (> 50% of commit) for the lifetime of the process on systems that have substantial amounts of available memory (64 GB of RAM or more) in Standby and Free, as shown by the Windows Resource Monitor (Figure 2). You can open Windows Resource Monitor by typing “Resource Monitor” in the Windows search box in the bottom left-hand corner of your desktop.

Figure 2: Windows Resource Monitor

The best method to display the browser processes private working set is via the Windows Task Manger as shown in Figure 2. To display your private working set, follow the steps below:

  1. Open Windows Task Manager (press Ctrl-Shift-Esc or type “Task Manager” in the Windows search box in the bottom left-hand corner of your desktop.)
  2. Click on the “Details” Tab in Windows Task Manager
  3. Ensure you have the necessary columns showing
    1. Right click on the header that has “Name”, “Status”, “User Name”, “CPU”, etc.
    2. Click “Select columns”
    3. Make sure that you have check marks next to “PID”, “Commit size”, and “Memory (private working set)”
    4. Click OK
  4. Open Browser Task Manager (right click on a browser window title bar and click “Browser task manager”, or press Shift-Esc after you’ve clicked on your browser window)
  5. For the process that you are interested in, look at the value in the “Process ID” column
  6. Return to Windows Task Manager and under the “PID” column, find the value that matches the value in Browser Task Manager
  7. Looking at that row, compare the values under the columns Memory (private working set) and “Commit size”
  8. If a process’s private working set is greater than 80% of your commit, please submit feedback through Microsoft
    1. Note: Make sure that the process you are looking at is not the active tab, the tab that is available for keyboard or mouse interactions, and verify that your system doesn’t have 64 GB or more of RAM
Figure 3: Windows Task Manager

Listening to your feedback

We recognize that people rely on their browser more than ever before, and we want browsing the web to be effortless. If you experience an issue with Microsoft Edge, please send us feedback through Microsoft Edge by pressing Alt+Shift+I after you’ve clicked on your browser window or by going to Settings and more… > Help and feedback > Send feedback.

In your feedback, please provide as much detail as possible. Please include information such as steps to reproduce the issue, the URL of the page you visited, diagnostic data, a screenshot, your email address, so if needed we can respond to your feedback and ask for additional information, and finally please include the phrase “EdgeMemoryBlogPost” in your description, to help us sort our feedback. Providing this additional information will help us address your feedback.

– Allison Pastewka, Program Manager, Microsoft Edge
– Joe Laughlin, Principal Software Engineer, Microsoft Edge
Source: How to investigate Microsoft Edge’s memory usage on Windows

Exit mobile version