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, sans-serif;
15 font-family: Helvetica, sans-serif;
18 font-family: Helvetica, sans-serif;
20 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(1),
21 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(6),
22 table.list#browserComparison tr.firstRow th:nth-child(1) {
23 border-right: 1px solid #b5c6de;
25 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(2),
26 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(7),
27 table.list#memoryDetails tr.firstRow th:nth-child(2) {
28 border-right: 1px solid #b5c6de;
31 <script src="chrome://resources/js/load_time_data.js"></script>
32 <script src="chrome://memory-redirect/memory.js"></script>
33 <script src="chrome://memory-redirect/strings.js"></script>
41 Measuring memory usage in a multi-process browser
51 Summary of memory used by currently active browsers.<p>
52 For Chromium, processes used to to display diagnostics
53 information (such as this "about:memory") are excluded.
59 <table class='list' id='browserComparison'>
67 <tr class='firstRow doNotFilter'>
75 <strong>Memory</strong>
78 <strong>Resident:</strong>
79 Amount of memory that is present in physical RAM.
80 This is the best indicator of browser memory resource usage.
83 <strong>Shared:</strong>
84 Amount of memory that is present in physical RAM and can
85 be shared with another process.
88 <strong>Private:</strong>
89 Amount of memory that is present in physical RAM and can not
90 be shared with another process.
93 <strong>Virtual:</strong>
94 Amount of address space allocated in virtual memory.
98 <i>(Note that the memory for this tab is not included in the browser totals.)</i>
104 <tr class='secondRow doNotFilter'>
121 <tr jsselect="browsers">
124 <strong jscontent="name"></strong> <span jscontent="version"></span>
128 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span>
131 <span class='th' jscontent="formatNumber(ws_shared)"></span><span class='k'>k</span>
134 <span class='th' jscontent="formatNumber(ws_priv)"></span><span class='k'>k</span>
137 <span class='th' jscontent="formatNumber(comm_priv)"></span><span class='k'>k</span>
141 <div class=otherbrowsers jsdisplay="browsers.length == 1">
142 Note: If other browsers (e.g., Safari, Firefox, Camino) are running, I'll show their memory details here.
144 <div class="otherbrowsers">
145 (Bug: We seriously overcount our own memory usage: <a href="http://crbug.com/25454">Issue 25454</a>.)
155 Details of memory usage for each of Chromium's processes.
161 <table class='list' id='memoryDetails'>
170 <tr class='firstRow doNotFilter'>
179 <tr class='secondRow doNotFilter'>
200 <tr jsselect="browzr_data">
202 <span class='th' jscontent="pid"></span>
210 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span>
213 <span class='th' jscontent="formatNumber(ws_shared)"></span><span class='k'>k</span>
216 <span class='th' jscontent="formatNumber(ws_priv)"></span><span class='k'>k</span>
219 <span class='th' jscontent="formatNumber(comm_priv)"></span><span class='k'>k</span>
222 <tr jsselect="child_data">
224 <span class='th' jscontent="pid"></span>
227 <div jscontent="child_name"></div>
228 <div jsselect="titles">
229 <span jscontent="$this"></span><br>
233 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span>
236 <span class='th' jscontent="formatNumber(ws_shared)"></span><span class='k'>k</span>
239 <span class='th' jscontent="formatNumber(ws_priv)"></span><span class='k'>k</span>
242 <span class='th' jscontent="formatNumber(comm_priv)"></span><span class='k'>k</span>
246 <tr class='noResults'>
252 <div class="otherbrowsers">
253 (Note: Due to memory sharing between processes, summing memory usage does not give total memory usage.)
256 <script src="chrome://resources/js/jstemplate_compiled.js"></script>