{"id":2614,"date":"2013-06-12T16:10:37","date_gmt":"2013-06-12T05:10:37","guid":{"rendered":"http:\/\/blog.mozilla.org\/nnethercote\/?p=2614"},"modified":"2013-06-12T16:10:37","modified_gmt":"2013-06-12T05:10:37","slug":"memshrink-progress-week-103-104","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nnethercote\/2013\/06\/12\/memshrink-progress-week-103-104\/","title":{"rendered":"MemShrink progress, week 103&#8211;104"},"content":{"rendered":"<p>I&#8217;m back from vacation.\u00a0 Many thanks to Andrew McCreight for writing two MemShrink reports (<a href=\"http:\/\/jlebar.com\/2013\/5\/8\/MemShrink_process%2C_weeks_97-98.html\">here<\/a> and <a href=\"http:\/\/jlebar.com\/2013\/5\/8\/MemShrink_process%2C_weeks_98-102.html\">here<\/a>) while I was away, and to Justin Lebar for hosting them on <a href=\"http:\/\/jlebar.com\/\">his blog<\/a>.<\/p>\n<h3>Fixes<\/h3>\n<p>areweslimyet.com proved its value again, identifying <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=878062\">a 40 MiB regression relating to layer animations<\/a>.\u00a0 Joe Drew fixed the problem quickly.\u00a0 Thanks, Joe!<\/p>\n<p>Ben Turner <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=873356\">changed the GC heuristics for web workers on B2G so that less garbage is allowed to accumulate<\/a>.\u00a0 This was a MemShrink:P1.<\/p>\n<p>Bas Schouten <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=829954\">fixed a gfx top-crasher<\/a> that was caused by inappropriate handling of an out-of-memory condition.\u00a0 This was also a MemShrink:P1.<\/p>\n<p>Randell Jesup <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=872978\">fixed a leak in WebRTC code<\/a>.<\/p>\n<h3>Changes to these progress reports<\/h3>\n<p>I&#8217;ve written over sixty MemShrink progress reports in the past two years.\u00a0 When I started writing them, I had two major goals.\u00a0 First, to counter the notion that nobody at Mozilla cares about memory consumption &#8212; this was a common comment on tech blogs two years ago.\u00a0 Second, to keep interested people informed of MemShrink progress.<\/p>\n<p>At this point, I think the first goal has been comprehensively addressed.\u00a0 (More due to the\u00a0 fact that we actually have improved Firefox&#8217;s memory consumption than because I wrote a bunch of blog posts!)\u00a0 As a result, I feel like the value of these posts has diminished.\u00a0 I&#8217;m also tired of writing them;\u00a0 long-time readers may have noticed that they are much terser than they used to be.<\/p>\n<p>Therefore, going forward, I&#8217;m only going to post one report every four weeks.\u00a0 (The MemShrink team will still meet every two weeks, however.)\u00a0 I&#8217;ll also be more selective about what I write about &#8212; I&#8217;ll focus on the big improvements, and I won&#8217;t list every little leak that has been fixed, though I might post links to Bugzilla searches that list those fixes. Finally, I won&#8217;t bother recording the MemShrink bug counts.\u00a0 (In fact, I&#8217;ve started that today.)\u00a0 At this point it&#8217;s pretty clear that the P1 list hovers between 15 and 20 most of the time, and the P2 and P3 lists grow endlessly.<\/p>\n<p>Apologies to anyone disappointed by this, but rest easy that it will give me more time to work on actual improvements to Firefox \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m back from vacation.\u00a0 Many thanks to Andrew McCreight for writing two MemShrink reports (here and here) while I was away, and to Justin Lebar for hosting them on his blog. Fixes areweslimyet.com proved its value again, identifying a 40 MiB regression relating to layer animations.\u00a0 Joe Drew fixed the problem quickly.\u00a0 Thanks, Joe! Ben [&hellip;]<\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,4544,4546],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/2614"}],"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=2614"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/2614\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/media?parent=2614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/categories?post=2614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/tags?post=2614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}