4 about:memory template page
8 <title>About Memory
</title>
9 <link rel=
"stylesheet" href=
"chrome://memory-redirect/about_memory.css">
12 font-family: Helvetica, Arial, sans-serif;
15 font-family: Helvetica, Arial, sans-serif;
18 font-family: Helvetica, Arial, sans-serif;
20 table.list#browserComparison tr:not([class*='firstRow'])
> *:nth-child(
1),
21 table.list#browserComparison tr:not([class*='firstRow'])
> *:nth-child(
4),
22 table.list#browserComparison tr.firstRow th:nth-child(
1),
23 table.list#browserComparison tr.firstRow th:nth-child(
2) {
24 border-right:
1px solid #b5c6de;
26 table.list#memoryDetails tr:not([class*='firstRow'])
> *:nth-child(
2),
27 table.list#memoryDetails tr:not([class*='firstRow'])
> *:nth-child(
5),
28 table.list#memoryDetails tr.firstRow th:nth-child(
2),
29 table.list#memoryDetails tr.firstRow th:nth-child(
3) {
30 border-right:
1px solid #b5c6de;
33 <script src=
"chrome://resources/js/load_time_data.js"></script>
34 <script src=
"chrome://memory-redirect/memory.js"></script>
35 <script src=
"chrome://memory-redirect/strings.js"></script>
43 Measuring memory usage in a multi-process browser
53 Summary of memory used by currently active browsers. For browsers
54 which use multiple processes, memory reflects aggregate memory
55 used across all browser processes.
58 For
<span jscontent=
"current_browser_name"></span>, processes used
59 to to display diagnostics information (such as this
60 "about:memory") are excluded.
66 <table class=
"list" id=
"browserComparison">
75 <tr class=
"firstRow doNotFilter">
83 <strong>Memory
</strong>
86 <strong>Private:
</strong>
87 Resident memory size that is not shared with any other
88 process. This is the best indicator of browser memory
92 <strong>Shared:
</strong>
93 Resident memory size that is currently shared with
2 or more
94 processes. Note: For browsers using multiple processes, if we
95 simply added the shared memory of each individual process,
96 this value would be inflated. Therefore, this value is
97 computed as an approximate value for shared memory in each of
98 the browser's processes. Note also that shared memory varies
99 depending on what other processes are running on the system,
100 and may be difficult to measure reproducibly.
103 <strong>Total:
</strong>
104 The sum of the private + shared resident memory sizes.
114 <strong>Virtual memory
</strong>
117 <strong>Private:
</strong>
118 The resident and paged bytes committed for use by only this
122 <strong>Mapped:
</strong>
123 Total bytes allocated by this process that are mapped into the
124 view of a section, backed by either system pagefile or file
125 system. This is primarily memory-mapped files.
131 <tr class=
"secondRow doNotFilter">
151 <tr jsselect=
"browsers">
154 <strong jscontent=
"name"></strong>
155 <span jscontent=
"version"></span>
160 jscontent=
"formatNumber(ws_priv + ws_shareable - ws_shared)">
161 </span><span class=
"k">k
</span>
164 <span class=
"th" jscontent=
"formatNumber(ws_shared / processes)">
165 </span><span class=
"k">k
</span>
169 jscontent=
"formatNumber(ws_priv + ws_shareable - ws_shared +
170 (ws_shared / processes))"></span><span class=
"k">k
</span>
173 <span class=
"th" jscontent=
"formatNumber(comm_priv)"></span>
174 <span class=
"k">k
</span>
177 <span class=
"th" jscontent=
"formatNumber(comm_map)"></span>
178 <span class=
"k">k
</span>
182 <div class=
"otherbrowsers" jsdisplay=
"browsers.length == 1">
183 Note: This page will show memory use for all running browsers,
186 <div class=
"otherbrowsers" jsdisplay=
"browsers.length > 1">
187 Note: Chrome includes memory used by plug-ins, other browsers may not.
197 Details of memory usage for each of
198 <span jscontent=
"current_browser_name"></span>'s processes.
204 <table class=
"list" id=
"memoryDetails">
214 <tr class=
"firstRow doNotFilter">
227 <tr class=
"secondRow doNotFilter">
251 <tr jsselect=
"browzr_data">
253 <span class=
"th" jscontent=
"pid"></span>
261 <span class=
"th" jseval=
"addToSum('tot_ws_priv', $this.ws_priv +
262 $this.ws_shareable - $this.ws_shared)" jscontent=
"ws_priv +
263 ws_shareable - ws_shared"></span><span class=
"k">k
</span>
266 <span class=
"th" jscontent=
"ws_shared"></span>
267 <span class=
"k">k
</span>
270 <span class=
"th" jseval=
"addToSum('tot_ws_tot', $this.ws_priv +
271 $this.ws_shareable)" jscontent=
"ws_priv +
272 ws_shareable"></span><span class=
"k">k
</span>
275 <span class=
"th" jseval=
"addToSum('tot_comm_priv', $this.comm_priv)"
276 jscontent=
"comm_priv"></span><span class=
"k">k
</span>
279 <span class=
"th" jseval=
"addToSum('tot_comm_map', $this.comm_map)"
280 jscontent=
"comm_map"></span><span class=
"k">k
</span>
283 <tr jsselect=
"child_data">
285 <span class=
"th" jscontent=
"pid"></span>
288 <div jscontent=
"child_name"></div>
289 <div jsselect=
"titles">
290 <span jscontent=
"$this"></span><br>
294 <span class=
"th" jseval=
"addToSum('tot_ws_priv', $this.ws_priv +
295 $this.ws_shareable - $this.ws_shared)" jscontent=
"ws_priv +
296 ws_shareable - ws_shared"></span><span class=
"k">k
</span>
299 <span class=
"th" jscontent=
"ws_shared"></span><span
303 <span class=
"th" jseval=
"addToSum('tot_ws_tot', $this.ws_priv +
304 $this.ws_shareable)" jscontent=
"ws_priv +
305 ws_shareable"></span><span class=
"k">k
</span>
308 <span class=
"th" jseval=
"addToSum('tot_comm_priv', $this.comm_priv)"
309 jscontent=
"comm_priv"></span><span class=
"k">k
</span>
312 <span class=
"th" jseval=
"addToSum('tot_comm_map', $this.comm_map)"
313 jscontent=
"comm_map"></span><span class=
"k">k
</span>
316 <tr class=
"total doNotFilter">
323 <span class=
"th" id=
"tot_ws_priv">0</span><span class=
"k">k
</span>
328 <span class=
"th" id=
"tot_ws_tot">0</span><span class=
"k">k
</span>
331 <span class=
"th" id=
"tot_comm_priv">0</span><span class=
"k">k
</span>
337 This is an approximation. Conceptually, this is the total
338 amount of in-memory pages for the entire logical
339 <span jscontent=
"current_browser_name"></span> application,
340 without double counting shared pages (e.g. mapped DLLs,
341 SharedMemory bitmaps, etc.) across the browser and renderers.
345 <span class=
"th" id=
"tot_comm_map">0</span><span class=
"k">k
</span>
349 <tr class=
"noResults">
356 <script src=
"chrome://resources/js/jstemplate_compiled.js"></script>