{"id":1823,"date":"2012-03-07T10:53:00","date_gmt":"2012-03-06T23:53:00","guid":{"rendered":"http:\/\/blog.mozilla.org\/nnethercote\/?p=1823"},"modified":"2012-03-07T10:53:00","modified_gmt":"2012-03-06T23:53:00","slug":"memshrink-progress-week-38","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nnethercote\/2012\/03\/07\/memshrink-progress-week-38\/","title":{"rendered":"MemShrink progress, week 38"},"content":{"rendered":"<p>After <a href=\"http:\/\/blog.mozilla.org\/nnethercote\/2012\/02\/29\/memshrink-progress-week-37\/\">last week&#8217;s action<\/a>, this week was quieter for MemShrink.<\/p>\n<h3>Add-ons<\/h3>\n<p>I mentioned last week the plan to test the top 100 add-ons for memory leaks.\u00a0 Unfortunately we learned this week that the list I gathered is the top 100 <em>installed<\/em> add-ons, not the top 100 <em>enabled<\/em> add-ons.\u00a0 It&#8217;s quite possible that a lot of installed &#8220;third-party&#8221; add-ons (those installed by a program outside of Firefox, such as anti-virus programs) are disabled, in which case this top 100 list won&#8217;t reflect actual usage.<\/p>\n<p>As a result, the top 100 testing is on hold until we can resolve this issue.\u00a0 <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=733516\">Telemetry data<\/a> may help, though that data might exhibit opt-in biases.\u00a0 I&#8217;m also going to investigate the possibility of changing the daily ping to distinguish between enabled and disabled add-ons, which would give us fully representative data.<\/p>\n<h3>Landed patches<\/h3>\n<p>I <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=730181\">merged the &#8220;dom+style&#8221; and &#8220;layout&#8221; trees in about:memory<\/a>.\u00a0 This is a step towards <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=687724\">per-tab memory reporting<\/a>.\u00a0 It also probably breaks <a href=\"http:\/\/www.visophyte.org\/blog\/2012\/02\/04\/aboutnosy-is-aboutmemory-with-charts-helps-you-lay-blame-more-easily\/\">about:nosy<\/a> \ud83d\ude41<\/p>\n<p>I also <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=723799\">converted the DOM memory reporters to the new style<\/a>, added <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=682431\">measurement of URIs and links<\/a>, and added <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=729008\">measurement of the FramePropertyTable<\/a>.\u00a0 These changes reduced about:memory&#8217;s &#8220;heap-unclassified&#8221; by several MBs in common cases.<\/p>\n<p><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=731783\">Bill McCloskey changed the GC marker stack so it shrinks periodically<\/a>.\u00a0 Previously it could grow from 256KB to over 2MB and would never be shrunk once that happened.<\/p>\n<h3>Bug counts<\/h3>\n<p>This week\u2019s bug counts:<\/p>\n<ul>\n<li>P1: 29 (-0\/+1)<\/li>\n<li>P2: 131 (-4\/+6)<\/li>\n<li>P3: 87 (-3\/+7)<\/li>\n<li>Unprioritized: 1 (-2\/+1)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>After last week&#8217;s action, this week was quieter for MemShrink. Add-ons I mentioned last week the plan to test the top 100 add-ons for memory leaks.\u00a0 Unfortunately we learned this week that the list I gathered is the top 100 installed add-ons, not the top 100 enabled add-ons.\u00a0 It&#8217;s quite possible that a lot of [&hellip;]<\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4550,119,30,4544,4546],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/1823"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/users\/139"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/comments?post=1823"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/1823\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/media?parent=1823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/categories?post=1823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/tags?post=1823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}