Hacker News new | past | comments | ask | show | jobs | submit login

400 tabs. Including several active fancy SPAs, like gMail and two copies of Slack, a gDocs or two, sometimes the godawful work LMS.

Stock Firefox 50 (32bit), untweaked with no relevant add-ons (well, except AdBlock Plus), Windows 10, just over 400 tabs open, under 10% CPU, under 2GB of RAM (on a 16GB machine). If I freak it out by doing a bunch of flipping through dormant tabs, I can spike CPU pretty good as it does layout on fifty tabs at once, but who cares, I don't do that. I do find that I need to restart my browser every few hundred tab open/close cycles, which takes under 30 seconds (just did the restart, that dropped RAM use to 1.3GB, but it'll get back up to 1.9 pretty soon). Restarts used to be a lot less frequent, and a lot faster, before work required me to keep two slack clients open. Running multiple YouTube windows at once seems to be bad for uptime.

Regarding OP's complaints, opening a new tab take imperceptible time, a new window is about half a second (only marginally slower than notepad), and switching tabs can be done several times per second.

I have put ZERO effort into make Firefox run faster, unless you count running AdBlock. I haven't even bothered to figure out which is the best adblocker.

Why do people use Chrome, again?

(edit to add a few details)




People use Chrome because Google (Alphabet?) advertises it heavily including a nag screen on google.com. Also Firefox goes through noticeable cycles of being awesome and being a buggy slow mess.

Chrome came out when Firefox was in a noticeable slump. Remember that in ?2008 being better than IE was the yardstick browsers were measured by and Firefox had passed that many years earlier, so I think they had lost their way a little bit. I remember Firefox 4 was noticeably bad on OSX and it took a long time to fix.

PS I use a browser salad daily (Safari and two channels of Firefox so I can have two instances open at once, and Chrome for Facebook / flash / testing).


To save on having to have two versions of Firefox, you can start a new instance with:

  $ firefox --no-remote --new-instance --profile /path/to/alt/profile


Try uBlock Origin. It performs even better than ABP, and hasn't sold out.


uBlock Matrix is good too, if you want to manage all the things. You basically white/blacklist all the image, css, xhr, etc. requests on the page and can set up rules like allow iframe from youtube.com on all sites, to allow the embed youtube frame to show up on pages. Many sites are broken on first load until you get your rules straight but they're trivially fixed. You just click on boxes to allow or deny the particular thing.

HN looks like: http://i.imgur.com/lfjkhkl.png


I myself made the switch from both Adblock and Adblock Plus to uBlock Origin, best decision ever!


Can we stop the "sellout" business? Having a clearly stated and one-click reversible whitelist is neither dishonest nor bad for the user. I like having the option to support sites I enjoy without massively inconveniencing myself. You prefer maximum adblocking, and that's fine, but there's nothing at all wrong with giving us both the choice.


> Can we stop the "sellout" business? Having a clearly stated and one-click reversible whitelist is neither dishonest nor bad for the user.

It is dishonest and bad for the general public. Users expect their adblocker to block adds; not block 'some' adds because of Mafia practices, or corruption (ie. advertising companies paying large, inappropriate sums of money to the company behind ABP in order to be whitelisted by default).

> I like having the option to support sites I enjoy without massively inconveniencing myself.

You can still do this on a case-by-case scenario with uBlock Origin.

> You prefer maximum adblocking, and that's fine, but there's nothing at all wrong with giving us both the choice.

This is false dichotomy. You have the same very choice with uBlock Origin. And uMatrix for that matter. I'm also not taking away your choice; nothing prevents you from installing and using ABP. What I will not do is stopping calling what ABP does sellout. Because as I argued above it is corruption.

On top of that, uBlock Origin is performance-wise better than ABP [1].

[1] https://github.com/gorhill/uBlock#performance


> It is dishonest and bad for the general public. Users expect their adblocker to block adds

You still seem to be under the impression that ABP is deceptive. It's not. It explains the "acceptable ads" list and gives you the option to disable it first thing after install. It is not doing anything without the user's knowledge. They're providing a perfectly honest service that you aren't interested in, and you think they should feel bad for that.

> You can still do this on a case-by-case scenario with uBlock Origin.

I specifically said without inconveniencing myself. Building up custom adblock settings for various sites is a chore and I have better things to do with my time. I choose to use a product that takes care of that chore for me, for the most part. You choose to take the time to personalize things, and that's fine; I've done the same in other circumstances. But that's a personal choice, not a moral one.


Nice way of quoting specifically, ignoring the arguments your discussion partner made. I made the point regarding corruption from the company behind ABP. The sums they receive to put companies on white list, are inappropriate. They've also added harmful companies/providers to their white list. Sorry, I can't take that product serious.

> I specifically said without inconveniencing myself.

You said you wanted to support your fav site. That is not hard to do with uBlock Origin. You are actually supporting most sites.

You also make it seem like the ABP whitelist isn't inconveniencing. It is; see above.


> I like having the option to support sites I enjoy without massively inconveniencing myself.

So do I, which is why I use Patreon and subscriptions.

The side effects of viewing ads are that in addition to supporting the sites you enjoy, you're supporting malware distributors, and helping companies compete on ads rather than the quality of their products. Maybe you don't care about your own attention or data security, but your actions don't just affect you.


> The side effects of viewing ads are that in addition to supporting the sites you enjoy, you're supporting malware distributors

No, I'm not, because I'm using ABP's vetted ad provider list. This risk of getting malware from one of those is greater than zero, but a whole lot less than the risk I accept by using the internet at all. I might get struck by lightning too, but I don't waste a lot of time worrying about it.

> and helping companies compete on ads rather than the quality of their products.

I'm sorry, you do not get to blame me for the continued existence of capitalism. That's just ridiculous.

> Maybe you don't care about your own attention or data security, but your actions don't just affect you.

Once again, you are trying to turn your personal software preference into a moral issue. My actions re:AdBlock affect you or anyone else exactly as much as my choice of desktop wallpaper.


> I'm sorry, you do not get to blame me for the continued existence of capitalism. That's just ridiculous.

If you choose to participate in harmful systems, you are in fact partially to blame for the harm done by those systems, and simply staying that I don't get to blame you for our doesn't change that.

Incidentally, criticizing ads isn't a criticism of capitalism: capitalism could exist just fine without ads, and in fact I think removing ads would make capitalism drastically more likely to yield the positive results capitalism purportedly yields.


> Incidentally, criticizing ads isn't a criticism of capitalism: capitalism could exist just fine without ads, and in fact I think removing ads would make capitalism drastically more likely to yield the positive results capitalism purportedly yields.

Indeed. Ask yourself the following question: say a user is not interested in advertisements. Is it therefore not a waste of the advertiser's time and/or money to force the ads upon this user?


I don't know what Firefox you're using but I always find it very slow and sluggish compared to Chrome.

Especially Google maps and YouTube. I always have to switch over to Chrome to use these sites because they always bring FF to its knees. I wonder if this is deliberate on the part of Google.


FF on Linux. Don't use maps, but YouTube works as it should (but then again, I only allow youtube.com, ytimg.com and googlevideo.com via NoScript).

It might be deliberate, at least in sense that MS pages never worked properly on Netscape / Firefox / Konqueror /... in the days of IE dominance.


On a 4 year old MacBook Air running Firefox, google maps takes a second or so to open fully, after browsing around in two google maps windows for a while my memory usage is stable at 1.25GB.


Firefox is pretty sluggish for me on my MBP. It sits around 20% CPU usage idling on certain web sites. Playing back videos makes the fans spin up. It's just terribly slow.


> 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.


> That said, I also have LastPass installed...

That's your problem, right there.

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:

https://addons.mozilla.org/en-US/firefox/addon/lastpass-pass...


That's odd - it turned out I had version 3.3.2 installed, I wonder why the auto-upgrade didn't happen? Are the 4.x versions beta releases?


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.


SafeInCloud. That's what one can do.


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.


How can a site leak memory? Javascripts is garbage-collected.


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.


Nearly 400 tabs open across several browser windows. Firefox with Tabmix plus and noscript addons. Performance and memory use is very comfortable with very few browser crashes.

I use Chrome for websites that use huge amounts of JavaScript links, which are pain to use with noscript. Chrome does not like a lot of tabs open and chews up memory and performance if forced to run large numbers of tabs.


This is mostly because Chrome starts a new process for each tab. However, Firefox is also heading in this direction.


Firefox is going for at most N+1 cores worth of processes, as I understand it (one per core for websites and one extra for compositing and the UI) and is doing to use cooperative threading (Quantum DOM) to improve responsiveness within those processes without the overhead of running a process per website.


Alright, good to know. I had the idea that they were going in the same direction as Chrome.


It's my understanding that Chrome is 1:1, while Firefox is M tabs on N threads, which has been a decent compromise in my experience so far.


10 minutes and 2-3 tabs on thingiverse.com can easily bring my firefox to its knees.

I think its a combination of badly written code, webgl and maybe even adblocker breaking some otherwise mostly working code.


I opened up 12 tabs on thingiverse.com on FF, clicking on random links on the page, scrolled to the bottom of several of the expanding lists, and desktop Slack (implemented using Electron) is still consuming more CPU than FF on my laptop.

(Lots of extensions, including Tree Style Tabs, Session Manager, Tab Mix Plus, uBlock Origin, RefControl, Cookie Controller, etc.)


close everything, restart the browser, go to thinigiverse, open some random design pages and browse a few of the design files (the blue ones).

now watch your memory and CPU usage :)


> Why do people use Chrome, again?

Oh you are like my mother. I do appreciate Firefox respect for standards, but their UI hasn't innovated since 90s. Two months ago it took me 20 minutes on my moms Windows laptop to find current version of Firefox! It lacks unified search bar, tab expose, even some basic hotkeys are backwards.

I can't believe it uses so little resources though. It's not uncommon to see a single tab use 400 MB of memory on Chrome/Safari.


I have some similar usage patterns... I really hope this is true because I think you just inspired me to switch from Chrome to Firefox! Chrome can't handle 100 (w/ a bunch of apps like Gmail) on a fully loaded Macbook very well. The only other thing I'd use is a few Chrome apps like Keep and Signal.


This Firefox instance I reply from has a bit under 1.3Gb allocated, with 7 open tabs. Three of the tabs are primitive blog articles, a couple weren't even loaded until I clicked on them now. Adblock Plus, PassFF and NextPlease are the only extensions running; I remember though the extensions didn't make a dent in memory footprint.


>400 tabs >like gMail and two copies of Slack, a gDocs or two, sometimes the godawful work LMS. >under 10% CPU, under 2GB of RAM

Any proofs? Stock firefox can't go further than 100 tabs, and you can't do literally anything else on your computer at that time.


> Stock firefox can't go further than 100 tabs

about:tabs (see https://addons.mozilla.org/en-US/firefox/addon/tab-stats/ ) is showing me "151 tabs" and "57 tabs have been loaded" for my current session. The other 90-some I haven't looked at this session, so they're left unloaded. I can post a screenshot, but I could fake that just as easily as I could fake my claims above, so it's not any more "proof".

I'm certainly doing other things right now (e.g. compiling).

It _really_ depends on what you have in your 100 tabs. If you have 100 copies of gmail, you're more likely to have a bad time than if you have 100 sane pages. ;)


I have to one up this one.

After being burned by incompatible bookmark formats years ago (I used to keep everything in bookmarks that were tagged within firefox) I ended up with a habit that whenever I have something that I want to read (or refer to) later I leave it open in a tab.

Only browser that could handle this habit was indeed Firefox, running on Windows 7. How it usually went down was that whenever I hit 1000 tabs I reserved some time to read what was worth reading and close tabs that weren't interesting anymore, until I was down to about 200-500. I didn't use addons much, I remember only having vertical tab list, one of the (ad)blockers and an addon that displayed current tab count below the tab list.

That setup had 8GB of RAM, and I didn't have problems playing games without closing the browser. IIRC it usually reserved around 2-4GB. When I installed Windows 10 on the same machine the browser had 1370 tabs open. I know I still have the sessionstore.js backup somewhere, but I did start from 0 again with the new install.

I'm quite sure that some Mozilla people have noticed my crash reports every now and then :) (though mostly the browser was running fine without problems)

I've since started to use things like Google Keep and Stash to keep the tab count down a bit. Browser that I'm currently on has 229 tabs open, mostly temporary, work related things.


> Stock firefox can't go further than 100 tabs, and you can't do literally anything else on your computer at that time.

Perhaps it's because of what else is running on your system and your system's hardware and OS. I regularly use Firefox with a few hundred tabs open across a couple of windows. On Windows, I find that if I have IE or Edge or Chrome running, each with a few tabs, most of my RAM just goes to them. I also hibernate my system and restart it only once every few weeks.

I use several extensions with Firefox too:

- uBlock Origin (block ads)

- Privacy Badger (tracking blocker)

- Perspectives (distributed certificate checks and better error handling)

- HTTPS Everywhere (default to https on sites and avoid plain http)

- Self-Destructing Cookies (self-destruct cookies for a tab after closing it)

- Tab Mix Plus (better tab management)

- Session Manager (better session management between restarts)

- Tree Style Tab (hierarchical tab list management)

- TooManyTabs (almost self-explanatory)

- Lazarus (save form data to restore or reuse)

- Link Alert (so I know if a link is a file or an internal site link or external site link or a popup and can then decide if I want to click it)

- FoxyProxy (switch proxies easily)

- Foxclocks (handy clocks in different times zones)

- DownThemAll (easier downloads of multiple items, which I need occasionally)

- and many more

Although I experience slow starts and long shutdowns, in general, and in comparison, the browser is not RAM hungry compared to opening just a couple of tabs on Internet Explorer/Edge or about ten tabs or so in Chrome (with fewer extensions than above in Chrome). On OS X/macOS though, Firefox seems more RAM hungry, is a bit more sluggish and consumes more energy than Safari.

Shutting down the browser and opening it again will also help since Firefox by default does not load tabs until they get the focus (this "load tabs on demand" behavior has been around for quite sometime). It will load some stuff from the cache though. One more thing you can try is create a new profile (take care to get bookmarks from the old one) and see if that avoids any problems with extensions or other cruft in the older profile.


> Any proofs?

Ha ha, what proof would satisfy you, where my word does not, O doubting Thomas? If I was going to lie to you on HN, I'd also be able to fake a screenshot. Maybe you'd like administrator access to my machine, so you can satisfy your smug certainty of what is not possible?

I haven't had my FF (stock plus a few plugins) under 300 tabs in months. It doesn't stop me from playing AAA titles, max settings at high resolution, at 30-60 fps. Sometimes while running a VM (because Windows is a gaming OS, not a work OS). I only mention that to disabuse you of the claim that...

> you can't do literally anything else on your computer at that time

I assure you, I can.


I have stock on 153 tabs with two processes each using 670MB of memory (1.3 GB total) and CPU is at a comfortable 1.5% + 0.9% (2.4%).

EDIT: Oh, I do have 22 extensions installed.

[1]: http://i.imgur.com/Epkfydj.png


My Firefox goes higher than 100 tabs, I've actually installed an add-on called Max Tabs to limit it to 100 tabs.


That is not my experience. Maybe the mac version isn't so great?


To be fair a 32-bit process couldn't use more than 2GB even if it wanted to.

/LARGEADRESSAWARE would give it access to an extra gig but needs to be compiled that way.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: