4 about:memory template page
9 <title>About Memory
</title>
10 <link rel=
"stylesheet" href=
"chrome://resources/css/text_defaults.css">
11 <link rel=
"stylesheet" href=
"chrome://memory-redirect/about_memory.css">
13 table.list#browserComparison tr:not([class*='firstRow'])
> *:nth-child(
1),
14 table.list#browserComparison tr:not([class*='firstRow'])
> *:nth-child(
6),
15 table.list#browserComparison tr.firstRow th:nth-child(
1) {
16 border-right:
1px solid #b5c6de;
18 table.list#memoryDetails tr:not([class*='firstRow'])
> *:nth-child(
2),
19 table.list#memoryDetails tr:not([class*='firstRow'])
> *:nth-child(
7),
20 table.list#memoryDetails tr.firstRow th:nth-child(
2) {
21 border-right:
1px solid #b5c6de;
24 <script src=
"chrome://resources/js/load_time_data.js"></script>
25 <script src=
"chrome://memory-redirect/memory.js"></script>
26 <script src=
"chrome://memory-redirect/strings.js"></script>
32 Measuring memory usage in a multi-process browser
42 Summary of memory used by currently active browsers.
<p>
43 For Chromium, processes used to to display diagnostics
44 information (such as this
"about:memory") are excluded.
50 <table class=
"list" id=
"browserComparison">
58 <tr class=
"firstRow doNotFilter">
66 <strong>Memory
</strong>
69 <strong>Resident:
</strong>
70 Amount of memory that is present in physical RAM.
71 This is the best indicator of browser memory resource usage.
74 <strong>Shared:
</strong>
75 Amount of memory that is present in physical RAM and can
76 be shared with another process.
79 <strong>Private:
</strong>
80 Amount of memory that is present in physical RAM and can not
81 be shared with another process.
84 <strong>Virtual:
</strong>
85 Amount of address space allocated in virtual memory.
89 <i>(Note that the memory for this tab is not included in the browser totals.)
</i>
95 <tr class=
"secondRow doNotFilter">
112 <tr jsselect=
"browsers">
115 <strong jscontent=
"name"></strong> <span jscontent=
"version"></span>
119 <span class=
"th" jscontent=
"formatNumber(ws_shareable)"></span><span class=
"k">k
</span>
122 <span class=
"th" jscontent=
"formatNumber(ws_shared)"></span><span class=
"k">k
</span>
125 <span class=
"th" jscontent=
"formatNumber(ws_priv)"></span><span class=
"k">k
</span>
128 <span class=
"th" jscontent=
"formatNumber(comm_priv)"></span><span class=
"k">k
</span>
132 <div class=
"otherbrowsers" jsdisplay=
"browsers.length == 1">
133 Note: This page will show memory use for all running browsers,
136 <div class=
"otherbrowsers" jsdisplay=
"browsers.length > 1">
137 Note: Chrome includes memory used by plugins, other browsers may not.
139 <div class=
"otherbrowsers">
140 (Bug: We seriously overcount our own memory usage:
<a href=
"http://crbug.com/25454">Issue
25454</a>.)
150 Details of memory usage for each of Chromium's processes.
156 <table class=
"list" id=
"memoryDetails">
165 <tr class=
"firstRow doNotFilter">
174 <tr class=
"secondRow doNotFilter">
195 <tr jsselect=
"browzr_data">
197 <span class=
"th" jscontent=
"pid"></span>
205 <span class=
"th" jscontent=
"formatNumber(ws_shareable)"></span><span class=
"k">k
</span>
208 <span class=
"th" jscontent=
"formatNumber(ws_shared)"></span><span class=
"k">k
</span>
211 <span class=
"th" jscontent=
"formatNumber(ws_priv)"></span><span class=
"k">k
</span>
214 <span class=
"th" jscontent=
"formatNumber(comm_priv)"></span><span class=
"k">k
</span>
217 <tr jsselect=
"child_data">
219 <span class=
"th" jscontent=
"pid"></span>
222 <div jscontent=
"child_name"></div>
223 <div jsselect=
"titles">
224 <span jscontent=
"$this"></span><br>
228 <span class=
"th" jscontent=
"formatNumber(ws_shareable)"></span><span class=
"k">k
</span>
231 <span class=
"th" jscontent=
"formatNumber(ws_shared)"></span><span class=
"k">k
</span>
234 <span class=
"th" jscontent=
"formatNumber(ws_priv)"></span><span class=
"k">k
</span>
237 <span class=
"th" jscontent=
"formatNumber(comm_priv)"></span><span class=
"k">k
</span>
241 <tr class=
"noResults">
247 <div class=
"otherbrowsers">
248 (Note: Due to memory sharing between processes, summing memory usage does not give total memory usage.)
251 <script src=
"chrome://resources/js/jstemplate_compiled.js"></script>