4 about:memory template page
9 <title>About Memory
</title>
10 <link rel=
"stylesheet" href=
"chrome://memory-redirect/about_memory.css">
13 font-family: Helvetica, Arial, sans-serif;
16 font-family: Helvetica, Arial, sans-serif;
19 font-family: Helvetica, Arial, sans-serif;
21 table.list#browserComparison tr:not([class*='firstRow'])
> *:nth-child(
1),
22 table.list#browserComparison tr:not([class*='firstRow'])
> *:nth-child(
4),
23 table.list#browserComparison tr.firstRow th:nth-child(
1),
24 table.list#browserComparison tr.firstRow th:nth-child(
2) {
25 border-right:
1px solid #b5c6de;
27 table.list#memoryDetails tr:not([class*='firstRow'])
> *:nth-child(
2),
28 table.list#memoryDetails tr:not([class*='firstRow'])
> *:nth-child(
5),
29 table.list#memoryDetails tr.firstRow th:nth-child(
2),
30 table.list#memoryDetails tr.firstRow th:nth-child(
3) {
31 border-right:
1px solid #b5c6de;
34 <script src=
"chrome://resources/js/load_time_data.js"></script>
35 <script src=
"chrome://memory-redirect/memory.js"></script>
36 <script src=
"chrome://memory-redirect/strings.js"></script>
44 Measuring memory usage in a multi-process browser
54 Summary of memory used by currently active browsers. For browsers
55 which use multiple processes, memory reflects aggregate memory
56 used across all browser processes.
59 For
<span jscontent=
"current_browser_name"></span>, processes used
60 to to display diagnostics information (such as this
61 "about:memory") are excluded.
67 <table class=
"list" id=
"browserComparison">
76 <tr class=
"firstRow doNotFilter">
84 <strong>Memory
</strong>
87 <strong>Private:
</strong>
88 Resident memory size that is not shared with any other
89 process. This is the best indicator of browser memory
93 <strong>Shared:
</strong>
94 Resident memory size that is currently shared with
2 or more
95 processes. Note: For browsers using multiple processes, if we
96 simply added the shared memory of each individual process,
97 this value would be inflated. Therefore, this value is
98 computed as an approximate value for shared memory in each of
99 the browser's processes. Note also that shared memory varies
100 depending on what other processes are running on the system,
101 and may be difficult to measure reproducibly.
104 <strong>Total:
</strong>
105 The sum of the private + shared resident memory sizes.
115 <strong>Virtual memory
</strong>
118 <strong>Private:
</strong>
119 The resident and paged bytes committed for use by only this
123 <strong>Mapped:
</strong>
124 Total bytes allocated by this process that are mapped into the
125 view of a section, backed by either system pagefile or file
126 system. This is primarily memory-mapped files.
132 <tr class=
"secondRow doNotFilter">
152 <tr jsselect=
"browsers">
155 <strong jscontent=
"name"></strong>
156 <span jscontent=
"version"></span>
161 jscontent=
"formatNumber(ws_priv + ws_shareable - ws_shared)">
162 </span><span class=
"k">k
</span>
165 <span class=
"th" jscontent=
"formatNumber(ws_shared / processes)">
166 </span><span class=
"k">k
</span>
170 jscontent=
"formatNumber(ws_priv + ws_shareable - ws_shared +
171 (ws_shared / processes))"></span><span class=
"k">k
</span>
174 <span class=
"th" jscontent=
"formatNumber(comm_priv)"></span>
175 <span class=
"k">k
</span>
178 <span class=
"th" jscontent=
"formatNumber(comm_map)"></span>
179 <span class=
"k">k
</span>
183 <div class=
"otherbrowsers" jsdisplay=
"browsers.length == 1">
184 Note: This page will show memory use for all running browsers,
187 <div class=
"otherbrowsers" jsdisplay=
"browsers.length > 1">
188 Note: Chrome includes memory used by plug-ins, other browsers may not.
198 Details of memory usage for each of
199 <span jscontent=
"current_browser_name"></span>'s processes.
205 <table class=
"list" id=
"memoryDetails">
215 <tr class=
"firstRow doNotFilter">
228 <tr class=
"secondRow doNotFilter">
252 <tr jsselect=
"browzr_data">
254 <span class=
"th" jscontent=
"pid"></span>
262 <span class=
"th" jseval=
"addToSum('tot_ws_priv', $this.ws_priv +
263 $this.ws_shareable - $this.ws_shared)" jscontent=
"ws_priv +
264 ws_shareable - ws_shared"></span><span class=
"k">k
</span>
267 <span class=
"th" jscontent=
"ws_shared"></span>
268 <span class=
"k">k
</span>
271 <span class=
"th" jseval=
"addToSum('tot_ws_tot', $this.ws_priv +
272 $this.ws_shareable)" jscontent=
"ws_priv +
273 ws_shareable"></span><span class=
"k">k
</span>
276 <span class=
"th" jseval=
"addToSum('tot_comm_priv', $this.comm_priv)"
277 jscontent=
"comm_priv"></span><span class=
"k">k
</span>
280 <span class=
"th" jseval=
"addToSum('tot_comm_map', $this.comm_map)"
281 jscontent=
"comm_map"></span><span class=
"k">k
</span>
284 <tr jsselect=
"child_data">
286 <span class=
"th" jscontent=
"pid"></span>
289 <div jscontent=
"child_name"></div>
290 <div jsselect=
"titles">
291 <span jscontent=
"$this"></span><br>
295 <span class=
"th" jseval=
"addToSum('tot_ws_priv', $this.ws_priv +
296 $this.ws_shareable - $this.ws_shared)" jscontent=
"ws_priv +
297 ws_shareable - ws_shared"></span><span class=
"k">k
</span>
300 <span class=
"th" jscontent=
"ws_shared"></span><span
304 <span class=
"th" jseval=
"addToSum('tot_ws_tot', $this.ws_priv +
305 $this.ws_shareable)" jscontent=
"ws_priv +
306 ws_shareable"></span><span class=
"k">k
</span>
309 <span class=
"th" jseval=
"addToSum('tot_comm_priv', $this.comm_priv)"
310 jscontent=
"comm_priv"></span><span class=
"k">k
</span>
313 <span class=
"th" jseval=
"addToSum('tot_comm_map', $this.comm_map)"
314 jscontent=
"comm_map"></span><span class=
"k">k
</span>
317 <tr class=
"total doNotFilter">
324 <span class=
"th" id=
"tot_ws_priv">0</span><span class=
"k">k
</span>
329 <span class=
"th" id=
"tot_ws_tot">0</span><span class=
"k">k
</span>
332 <span class=
"th" id=
"tot_comm_priv">0</span><span class=
"k">k
</span>
338 This is an approximation. Conceptually, this is the total
339 amount of in-memory pages for the entire logical
340 <span jscontent=
"current_browser_name"></span> application,
341 without double counting shared pages (e.g. mapped DLLs,
342 SharedMemory bitmaps, etc.) across the browser and renderers.
346 <span class=
"th" id=
"tot_comm_map">0</span><span class=
"k">k
</span>
350 <tr class=
"noResults">
357 <script src=
"chrome://resources/js/jstemplate_compiled.js"></script>