> Stock Firefox 50 (32bit), untweaked with no relevant add-ons (well, except AdBlock Plus),
Same setup, but my Firefox leaks memory like a sieve. It will crash 2x a day easily.
That said, I also have LastPass installed, I am using uBlock instead of ABP (though uBlock uses less memory anyway), and I also have RES installed.
I have seen websites leak incredible amounts of memory. To some extent I don't even know how much it matters what browser is used, if the JS is bad enough.
I've been told that the main version of LastPass currently available from addons.mozilla.org has known problems that cause the browser to lock up and hang indefinitely.
Instead, if you click through to list all releases and select the latest 4.x version, those problems should all be fixed:
Yes, IIRC. They're still imperfect and can lag the browser quite a bit IME, but what can you do... Switching to a different password manager is not easy, and the ones I've looked at all have this/other problems.
I think those of us using LastPass stick with it because no one better supports Linux. It looks like SafeInCloud is yet another option with no Linux support.
My worst problems were with Toptal's website. I even tweeted them about it, but it still leaked memory like crazy. Maybe they fixed it already, but I wouldn't know - they didn't have articles that interest me in a while.
Anyway. I have Firefox with uBlock, on Archlinux. With JS disabled. 400MB, about a hundred tabs. I do recommend using it that way. I also have Chromium, for things that require JS - youtube, facebook and the like.
Easy: add it to something that's alive while the site is alive. Here's an example that leaks some memory every 100ms while you have the site open:
window.leakyArr = [];
function leakStuff() {
leakyArr.push("This is leaked" + Math.random());
}
setInterval(leakStuff, 100);
Of course if you unload the page this will all be collected. But if you have a page you leave open for a long time and it does stuff like this, it's possible for the page to use hundreds of megabytes of RAM. In fact, twitter does just that if you leave it open for a day or three, for reasons more or less like the above: they're showing or caching all the stuff that came in since you opened the page. That's more and more stuff as time goes on.
Same setup, but my Firefox leaks memory like a sieve. It will crash 2x a day easily.
That said, I also have LastPass installed, I am using uBlock instead of ABP (though uBlock uses less memory anyway), and I also have RES installed.
I have seen websites leak incredible amounts of memory. To some extent I don't even know how much it matters what browser is used, if the JS is bad enough.