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>
34 Measuring memory usage in a multi-process browser
44 Summary of memory used by currently active browsers.
<p>
45 For Chromium, processes used to to display diagnostics
46 information (such as this
"about:memory") are excluded.
52 <table class=
"list" id=
"browserComparison">
60 <tr class=
"firstRow doNotFilter">
68 <strong>Memory
</strong>
71 <strong>Resident:
</strong>
72 Amount of memory that is present in physical RAM.
73 This is the best indicator of browser memory resource usage.
76 <strong>Shared:
</strong>
77 Amount of memory that is present in physical RAM and can
78 be shared with another process.
81 <strong>Private:
</strong>
82 Amount of memory that is present in physical RAM and can not
83 be shared with another process.
86 <strong>Virtual:
</strong>
87 Amount of address space allocated in virtual memory.
91 <i>(Note that the memory for this tab is not included in the browser totals.)
</i>
97 <tr class=
"secondRow doNotFilter">
114 <tr jsselect=
"browsers">
117 <strong jscontent=
"name"></strong> <span jscontent=
"version"></span>
121 <span class=
"th" jscontent=
"formatNumber(ws_shareable)"></span><span class=
"k">k
</span>
124 <span class=
"th" jscontent=
"formatNumber(ws_shared)"></span><span class=
"k">k
</span>
127 <span class=
"th" jscontent=
"formatNumber(ws_priv)"></span><span class=
"k">k
</span>
130 <span class=
"th" jscontent=
"formatNumber(comm_priv)"></span><span class=
"k">k
</span>
134 <div class=
"otherbrowsers" jsdisplay=
"browsers.length == 1">
135 Note: This page will show memory use for all running browsers,
138 <div class=
"otherbrowsers" jsdisplay=
"browsers.length > 1">
139 Note: Chrome includes memory used by plugins, other browsers may not.
141 <div class=
"otherbrowsers">
142 (Bug: We seriously overcount our own memory usage:
<a href=
"http://crbug.com/25454">Issue
25454</a>.)
152 Details of memory usage for each of Chromium's processes.
158 <table class=
"list" id=
"memoryDetails">
167 <tr class=
"firstRow doNotFilter">
176 <tr class=
"secondRow doNotFilter">
197 <tr jsselect=
"browzr_data">
199 <span class=
"th" jscontent=
"pid"></span>
207 <span class=
"th" jscontent=
"formatNumber(ws_shareable)"></span><span class=
"k">k
</span>
210 <span class=
"th" jscontent=
"formatNumber(ws_shared)"></span><span class=
"k">k
</span>
213 <span class=
"th" jscontent=
"formatNumber(ws_priv)"></span><span class=
"k">k
</span>
216 <span class=
"th" jscontent=
"formatNumber(comm_priv)"></span><span class=
"k">k
</span>
219 <tr jsselect=
"child_data">
221 <span class=
"th" jscontent=
"pid"></span>
224 <div jscontent=
"child_name"></div>
225 <div jsselect=
"titles">
226 <span jscontent=
"$this"></span><br>
230 <span class=
"th" jscontent=
"formatNumber(ws_shareable)"></span><span class=
"k">k
</span>
233 <span class=
"th" jscontent=
"formatNumber(ws_shared)"></span><span class=
"k">k
</span>
236 <span class=
"th" jscontent=
"formatNumber(ws_priv)"></span><span class=
"k">k
</span>
239 <span class=
"th" jscontent=
"formatNumber(comm_priv)"></span><span class=
"k">k
</span>
243 <tr class=
"noResults">
249 <div class=
"otherbrowsers">
250 (Note: Due to memory sharing between processes, summing memory usage does not give total memory usage.)
253 <script src=
"chrome://resources/js/jstemplate_compiled.js"></script>