4 about:memory template page
9 <title>About Memory
</title>
10 <if expr=
"is_android">
11 <meta name=
"viewport" content=
"width=device-width">
13 <link rel=
"stylesheet" href=
"chrome://memory-redirect/about_memory.css">
14 <link rel=
"stylesheet" href=
"about_memory_linux.css">
15 <script src=
"chrome://resources/js/load_time_data.js"></script>
16 <script src=
"chrome://memory-redirect/memory.js"></script>
17 <script src=
"chrome://memory-redirect/strings.js"></script>
19 <body i18n-values=
".style.fontFamily:fontfamily;.style.fontSize:fontsize">
25 Measuring memory usage in a multi-process browser
34 <p class=
"summary-desc" i18n-values=
".innerHTML:summary_desc"></p>
39 <table class=
"list" id=
"browserComparison">
45 <tr class=
"firstRow doNotFilter">
53 <strong>Memory
</strong>
56 <strong>Private:
</strong>
57 Resident memory size that is not shared with any other process.
58 This is the best indicator of browser memory resource usage.
61 <strong>Proportional:
</strong>
62 Accounts for each page of memory as a fraction based on the number of
63 processes that have it mapped. Thus, for each page of memory mapped by two
64 processes, this sum will count half of the bytes towards each.
65 Therefore, this number is greater than the private count.
68 <p><i>(Note that the memory for this tab is not included in the browser totals)
</i></p>
73 <tr class=
"secondRow doNotFilter">
84 <tr jsselect=
"browsers">
87 <strong jscontent=
"name"></strong> <span jscontent=
"version"></span>
91 <span class=
"th" jscontent=
"formatNumber(ws_priv)"></span><span class=
"k">k
</span>
94 <span class=
"th" jscontent=
"formatNumber(ws_shared)"></span><span class=
"k">k
</span>
98 <div class=
"otherbrowsers"
99 jsdisplay=
"show_other_browsers && browsers.length == 1">
100 Note: This page will show memory use for all running browsers,
103 <div class=
"otherbrowsers"
104 jsdisplay=
"show_other_browsers && browsers.length > 1">
105 Note: Chrome includes memory used by plug-ins, other browsers may not.
115 Details of memory usage for each of Chromium's processes.
121 <table class=
"list" id=
"memoryDetails">
128 <tr class=
"firstRow doNotFilter">
137 <tr class=
"secondRow doNotFilter">
152 <tr jsselect=
"browzr_data">
154 <span class=
"th" jscontent=
"pid"></span>
162 <span class=
"th" jseval=
"addToSum('tot_ws_priv', $this.ws_priv)" jscontent=
"formatNumber(ws_priv)"></span><span class=
"k">k
</span>
165 <span class=
"th" jscontent=
"formatNumber(ws_shared)"></span><span class=
"k">k
</span>
168 <tr jsselect=
"child_data">
170 <span class=
"th" jscontent=
"pid"></span>
173 <div jscontent=
"child_name"></div>
174 <div jsselect=
"titles">
175 <span jscontent=
"$this"></span><br>
179 <span class=
"th" jseval=
"addToSum('tot_ws_priv', $this.ws_priv)" jscontent=
"formatNumber(ws_priv)"></span><span class=
"k">k
</span>
182 <span class=
"th" jscontent=
"formatNumber(ws_shared)"></span><span class=
"k">k
</span>
185 <tr class=
"total doNotFilter">
192 <span class=
"th" id=
"tot_ws_priv">0</span><span class=
"k">k
</span>
198 <tr class=
"noResults">
205 <div class=
"otherbrowsers">(The memory usage of our renderer processes is slightly less accurate when they are sandboxed.)
</div>
208 <script src=
"chrome://resources/js/i18n_template2.js"></script>
209 <script src=
"chrome://resources/js/jstemplate_compiled.js"></script>