<div dir="ltr">On Fri, Jan 13, 2017 at 8:59 PM, Jörg Sommer <span dir="ltr"><<a href="mailto:joerg@alea.gnuu.de" target="_blank">joerg@alea.gnuu.de</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
</span>I've recorded some memory reports. This is the diff between the first one<br>
from the start and the last one when Firefox is hanging.<br>
<br>
2,656.57 MB (100.0%) -- explicit<br>
├────838.60 MB (31.57%) -- window-objects<br>
│    ├──640.89 MB (24.12%) -- top(none)<br>
│    │  ├──632.46 MB (23.81%) -- detached<br>
│    │  │  ├──629.46 MB (23.69%) -- window(chrome://browser/<wbr>content/browser.xul)<br></blockquote><div><br></div><div>This is very helpful data, thank you for collecting it.<br><br></div><div>Having "top(none)/detached" windows is often a sign of some kind of memory leak, and it's most commonly caused by an extension. What extensions do you have enabled? (You can get the list from about:support.)<br><br></div><div>Our usual advice in this situation -- assuming you do have extensions enabled -- is to selectively disable them in order to determine if there is one at fault. That can be a slow and annoying process, but it's the only way to diagnose the problem, alas.<br><br></div><div>In terms of prevention, in the past we have greatly reduced the ability of extensions to cause this kind of memory leak (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=695480">https://bugzilla.mozilla.org/show_bug.cgi?id=695480</a>). There is ongoing work to do more (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1276366">https://bugzilla.mozilla.org/show_bug.cgi?id=1276366</a>) but it's tricky to do it in a way that doesn't break any existing code legitimately. erahm has been working on that bug, but if anybody is interested in helping I'm sure he'd be happy to have assistance, particularly from Firefox devs who know about Firefox's JS code.<br></div><div><br></div><div>Nick<br></div><div><br> </div></div></div></div>