home *** CD-ROM | disk | FTP | other *** search
Wrap
<!DOCTYPE HTML> <!-- about:memory template page --> <html id="t"> <head> <title>About Memory</title> <style>/* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ body { font-size: 84%; margin: 0; min-width: 45em; padding: 0.75em; } h1 { color: rgb(74, 142, 230); font-size: 110%; font-weight: bold; letter-spacing: -1px; margin: 0; padding: 0; } h2 { border-top: 1px solid rgb(58, 117, 189); color: rgb(58, 117, 189); font-size: 110%; font-weight: normal; letter-spacing: -1px; margin: 0; margin-left: -38px; padding: 0.5em 1em 0.5em 38px; } h2:first-child { border-top: 0; padding-top: 0; } span.th { padding-left: 0.35em; } a { color: black; } div#header { background: rgb(82, 150, 222); background-size: 100%; border: 1px solid rgb(58, 117, 189); border-radius: 6px; color: white; margin-bottom: 0.75em; overflow: hidden; padding: 0.6em 1em 0.75em 0; position: relative; text-shadow: 0 0 2px black; } div#header h1 { background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPCAYAAAACsSQRAAABJ0lEQVQ4jY2TsQ4BQRRFt1D4AoWKSsVX+AOVTucHaFRUfACVagsqlUajUVFoFBQUEhKbIFkhUWjGfcmd5GXCUJxs9r07d97c2Q2MMYEiCzpgAxpObwSOoA6Suhc4wiWIKRZC0AVjcAEH1gc+kxmFe7Dl88jagTWh7zNpgkiJ12DB49naDpR9JrLrmYuHIA9SJFQTzl2TDKjwnDEnqTnmlqE6nhypaE3E9QkenGLFnT+ZpFXAEfUtaUxpcGFj416hIqWmFaMTaNsR78pk/4eJNRKaNpMGG1ealb+YSA4vaifU5VyRNipx5ySfPWZ3Z25fr7irxo15nSsGaGgi9arPZK6EMQN/KqR2Mz++WH3dskB+g6V6t0x9JgFDjiiUPBJkwink1yjoNW85929gWgEhhwAAAABJRU5ErkJggg==') 12px 60% no-repeat; color: white; display: inline; margin: 0; padding-left: 37px; } div#header p { color: white; display: inline; font-size: 84%; font-style: italic; margin: 0; padding: 0; padding-left: 0.4em; } div#header div.navigation { font-size: 92%; line-height: 3.5em; position: absolute; right: 1em; top: 0; } div#header select { border: 1px solid rgb(58, 117, 189); color: rgb(49, 93, 148); font-size: 100%; line-height: 140%; } div#header select option { padding: 0 0.2em; } div#sidebar { border-right: 1px solid #cfcfcf; display: none; float: left; margin-left: 26px; min-height: 20em; padding: 0.75em; padding-top: 0; width: 45em; } div#content { margin-left: 0; } hr { display: inline; padding: 0 0.5em; visibility: hidden; } .k { font-weight: normal; opacity: 0.4; padding-left: 0.1em; } .legend { color: #7f7f7f; font-size: 84%; line-height: 140%; margin-top: 2em; padding: 0.4em 0 0; text-align: right; } .legend h3 { color: black; display: inline; font-size: 100%; font-weight: normal; margin: 0; padding: 0 0.5em 0 0; } .legend .swatch { display: inline-block; height: 0.9em; margin-right: 0.2em; opacity: 0.66; padding: 0 0.5em; } table.list { border-collapse: collapse; font-size: 84%; line-height: 200%; table-layout: fixed; width: 100%; } table.list:not([class*='filtered']) tr:nth-child(odd) td { background: rgb(239, 243, 255); } .hidden { display: none; } table.list th { color: black; font-weight: bold; padding: 0 0.5em; vertical-align: top; white-space: nowrap; } table.list .firstRow th { line-height: 100%; text-align: left; } table.list .secondRow * { border-bottom: 1px solid rgb(181, 198, 222); text-align: left; } table.list td { line-height: 1.4em; padding: 0.35em 0.5em 0; vertical-align: top; } table.list tr td:nth-last-child(1), table.list tr th:nth-last-child(1) { padding-right: 1em; } table.list:not([class*='filtered']) .tab .name { padding-left: 1.5em; } table.list .name { width: 100%; } table.list .name div { height: 1.6em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } table.list .pid { text-align: right; width: 4em; } table.list .pid .th { padding: 0; } table.list .type { width: 5em; } table.list .number { text-align: right; width: 7em; } table.list .total { font-weight: bold; } table.list .total .name { color: rgb(49, 93, 148); text-align: right; } table.list .total td { background: white !important; border-top: 1px solid rgb(181, 198, 222); } table.list .noResults { display: none; } table.list.noResults .noResults { display: table-row; } table.list .noResults td { color: #3f3f3f; padding: 3em 0; text-align: center; } table.list#browserComparison .name { background-position: 5px center; background-repeat: no-repeat; padding-left: 25px; } div.help { background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAA20lEQVQoz3VSvQrCMBjM47mLiK/g7iCCPw/gptJdJ7G1zg5uTjoI4uIoCLopWltpe/YCKV9KDVwIX+5y308UAEXcnym8fYyOF6E+CTR4Zox3hqe30zXBYBWhMnyXopsJydECqiXZ2XxxuCRYHxM0p2EeJ4dcRUsTbM1DvELoy9k2xu2RWk7kKuYpBcaNr3NJAbmKxRVzJplOS+FOkFsq2J4TjWJcC2RK0rrhfErjVtEG7JLskFV0sa2m+OrITjVvqxlcz/8/uL4vBie/hptZtt0ItXGgwfNiZ3+NH4NbuVPjR6BmAAAAAElFTkSuQmCC') center bottom no-repeat; display: inline-block; height: 14px; margin: -1px 0; opacity: 0.33; width: 14px; } div.help:hover { opacity: 1; } div.help div { display: none; } #helpTooltip { background: rgb(214, 232, 255); border: 1px solid rgb(168, 207, 255); border-radius: 0; box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.33); font-size: 92%; line-height: 140%; max-width: 30em; padding: 0.3em 0.8em; position: absolute; z-index: 1000; } #helpTooltip p { margin: 0.6em 0; } div.otherbrowsers { font-size: 84%; text-align: center; width: 100%; } </style> <style> body { font-family: Helvetica, Arial, sans-serif; } div#header select { font-family: Helvetica, Arial, sans-serif; } div.otherbrowsers { font-family: Helvetica, Arial, sans-serif; } table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(1), table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(4), table.list#browserComparison tr.firstRow th:nth-child(1), table.list#browserComparison tr.firstRow th:nth-child(2) { border-right: 1px solid #b5c6de; } table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(2), table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(5), table.list#memoryDetails tr.firstRow th:nth-child(2), table.list#memoryDetails tr.firstRow th:nth-child(3) { border-right: 1px solid #b5c6de; } </style> <script src="chrome://memory-redirect/memory.js"></script> <script src="chrome://memory-redirect/strings.js"></script> </head> <body> <div id='header'> <h1> About memory </h1> <p> Measuring memory usage in a multi-process browser </p> </div> <div id='content'> <h2> Summary <div class='help'> <div> <p> Summary of memory used by currently active browsers. For browsers which use multiple processes, memory reflects aggregate memory used across all browser processes. </p> <p> For <span jscontent="current_browser_name"></span>, processes used to to display diagnostics information (such as this "about:memory") are excluded. </p> </div> </div> </h2> <table class='list' id='browserComparison'> <colgroup> <col class='name'> <col class='number'> <col class='number'> <col class='number'> <col class='number'> <col class='number'> </colgroup> <tr class='firstRow doNotFilter'> <th> </th> <th colspan='3'> Memory <div class='help'> <div> <p> <strong>Memory</strong> </p> <p> <strong>Private:</strong> Resident memory size that is not shared with any other process. This is the best indicator of browser memory resource usage. </p> <p> <strong>Shared:</strong> Resident memory size that is currently shared with 2 or more processes. Note: For browsers using multiple processes, if we simply added the shared memory of each individual process, this value would be inflated. Therefore, this value is computed as an approximate value for shared memory in each of the browser's processes. Note also that shared memory varies depending on what other processes are running on the system, and may be difficult to measure reproducibly. </p> <p> <strong>Total:</strong> The sum of the private + shared resident memory sizes. </p> </div> </div> </th> <th colspan='2'> Virtual memory <div class='help'> <div> <p> <strong>Virtual memory</strong> </p> <p> <strong>Private:</strong> The resident and paged bytes committed for use by only this process. </p> <p> <strong>Mapped:</strong> Total bytes allocated by this process that are mapped into the view of a section, backed by either system pagefile or file system. This is primarily memory-mapped files. </p> </div> </div> </th> </tr> <tr class='secondRow doNotFilter'> <th class='name'> Browser </th> <th class='name'> Private </th> <th class='number'> Shared </th> <th class='number'> Total </th> <th class='number'> Private </th> <th class='number'> Mapped </th> </tr> <tr jsselect="browsers"> <td class='name'> <div> <strong jscontent="name"></strong> <span jscontent="version"></span> </div> </td> <td class='number'> <span class='th' jscontent="formatNumber(ws_priv + ws_shareable - ws_shared)"> </span><span class='k'>k</span> </td> <td class='number'> <span class='th' jscontent="formatNumber(ws_shared / processes)"> </span><span class='k'>k</span> </td> <td class='number'> <span class='th' jscontent="formatNumber(ws_priv + ws_shareable - ws_shared + (ws_shared / processes))"></span><span class='k'>k</span> </td> <td class='number'> <span class='th' jscontent="formatNumber(comm_priv)"></span> <span class='k'>k</span> </td> <td class='number'> <span class='th' jscontent="formatNumber(comm_map)"></span> <span class='k'>k</span> </td> </tr> </table> <div class=otherbrowsers jsdisplay="browsers.length == 1"> Note: If other browsers (e.g. IE, Firefox, Safari) are running, I'll show their memory details here. </div> <br><br><br> <h2> Processes <div class='help'> <div> <p> Details of memory usage for each of <span jscontent="current_browser_name"></span>'s processes. </p> </div> </div> </h2> <table class='list' id='memoryDetails'> <colgroup> <col class='pid'> <col class='name'> <col class='number'> <col class='number'> <col class='number'> <col class='number'> <col class='number'> </colgroup> <tr class='firstRow doNotFilter'> <th> </th> <th> </th> <th colspan='3'> Memory </th> <th colspan='2'> Virtual memory </th> </tr> <tr class='secondRow doNotFilter'> <th class='pid'> PID </th> <th class='name'> Name </th> <th class='number'> Private </th> <th class='number'> Shared </th> <th class='number'> Total </th> <th class='number'> Private </th> <th class='number'> Mapped </th> </tr> <tr jsselect="browzr_data"> <td class='pid'> <span class='th' jscontent="pid"></span> </td> <td class='name'> <div> Browser </div> </td> <td class='number'> <span class='th' jseval="addToSum('tot_ws_priv', $this.ws_priv + $this.ws_shareable - $this.ws_shared)" jscontent="ws_priv + ws_shareable - ws_shared"></span><span class='k'>k</span> </td> <td class='number'> <span class='th' jscontent="ws_shared"></span> <span class='k'>k</span> </td> <td class='number'> <span class='th' jseval="addToSum('tot_ws_tot', $this.ws_priv + $this.ws_shareable)" jscontent="ws_priv + ws_shareable"></span><span class='k'>k</span> </td> <td class='number'> <span class='th' jseval="addToSum('tot_comm_priv', $this.comm_priv)" jscontent="comm_priv"></span><span class='k'>k</span> </td> <td class='number'> <span class='th' jseval="addToSum('tot_comm_map', $this.comm_map)" jscontent="comm_map"></span><span class='k'>k</span> </td> </tr> <tr jsselect="child_data"> <td class='pid'> <span class='th' jscontent="pid"></span> </td> <td class='name'> <div jscontent="child_name"></div> <div jsselect="titles"> <span jscontent="$this"></span><br> </div> </td> <td class='number'> <span class='th' jseval="addToSum('tot_ws_priv', $this.ws_priv + $this.ws_shareable - $this.ws_shared)" jscontent="ws_priv + ws_shareable - ws_shared"></span><span class='k'>k</span> </td> <td class='number'> <span class='th' jscontent="ws_shared"></span><span class='k'>k</span> </td> <td class='number'> <span class='th' jseval="addToSum('tot_ws_tot', $this.ws_priv + $this.ws_shareable)" jscontent="ws_priv + ws_shareable"></span><span class='k'>k</span> </td> <td class='number'> <span class='th' jseval="addToSum('tot_comm_priv', $this.comm_priv)" jscontent="comm_priv"></span><span class='k'>k</span> </td> <td class='number'> <span class='th' jseval="addToSum('tot_comm_map', $this.comm_map)" jscontent="comm_map"></span><span class='k'>k</span> </td> </tr> <tr class='total doNotFilter'> <td class='pid'> </td> <td class='name'> Σ </td> <td class='number'> <span class='th' id="tot_ws_priv">0</span><span class='k'>k</span> </td> <td class='number'> </td> <td class='number'> <span class='th' id="tot_ws_tot">0</span><span class='k'>k</span> </td> <td class='number'> <span class='th' id="tot_comm_priv">0</span><span class='k'>k</span> </td> <td class='number'> <div class='help'> <div> <p> This is an approximation. Conceptually, this is the total amount of in-memory pages for the entire logical <span jscontent="current_browser_name"></span> application, without double counting shared pages (e.g. mapped DLLs, SharedMemory bitmaps, etc.) across the browser and renderers. </p> </div> </div> <span class='th' id="tot_comm_map">0</span><span class='k'>k</span> </td> </tr> <tr class='noResults'> <td colspan='99'> No results found. </td> </tr> </table> </div> <script src="chrome://resources/js/jstemplate_compiled.js"></script> </body> </html>