4 ms·
Right now firefox beats the pants off chrome for memory usage - that is why I'm using it.
by lingben 13y ago
Right now firefox beats the pants off chrome for memory usage - that is why I'm using it.
- clarry 13y agoStill it can't deal with memory pressure, and will just eventually oom & crash.
- ndesaulniers 13y agoWhat's your host environment and browsing habits like (lots of tabs open, many pinned tabs, lots of video, flash video)?
- clarry 13y agoHaving just one gigabyte of physical RAM, I run Firefox with a 512M rlimit (the OpenBSD default), as I have to reserve some space for other software too (and swap is painfully slow on the spinning disk). As far as browsing habits go, I do usually have quite a few tabs open (currently I've got 38, though they're not all loaded; I don't think I often go much over this often). None are pinned. Video is disabled, and I've got no flash or plugins. I've got three extensions (noscript, https-everywhere, duckduckgo plus). I tend to run with scripts disabled and this helps a lot with memory pressure. Sometimes I make the mistake of thinking I need to enable javascript for something (hi Google), and that's usually when memory usage skyrockets and the thing dumps core :-) But eventually it'll happen even if I don't allow any scripts.
- slyall 13y agohttp://dilbert.com/strips/comic/1995-06-24/ http://dilbert.com/strips/comic/1995-06-24/
- ndesaulniers 13y agoThis is getting close to the limit of my expertise. What resource is bumping into it's system limit? Can you back up that answer with a stack trace or core dump? If so, would you mind filing a bug in our bug tracker? [0] It looks like if you put [MemShrink] in the Whiteboard field, the memshrink team should pick it up. If not, you could jump in #memshrink in our IRC server, irc.mozilla.org, and let someone there know. [1] You can ping me directly on irc, too. My handle is a literal new line character (which _is_ a valid nick), and I'd be happy to help you get the bug filed if you run into any issues. Once you have a bugzilla account, you'll see it's generally pretty easy to submit bugs and provide feedback in channels that allow us to more easily find and work on issues. We're happy to help, too! I'd file the issue myself, but I'd prefer to enable you to see how easy it is, and for you to provide the stack trace. Even providing steps to reproduce issues makes you a part of our Mozilla community. Welcome! [0] https://bugzilla.mozilla.org/ https://bugzilla.mozilla.org/ [1] https://wiki.mozilla.org/Performance/MemShrink https://wiki.mozilla.org/Performance/MemShrink
- nnethercote 13y ago512 MiB rlimit and you usually have 10s of tabs open? I'm not surprised you're having problems; that's a pretty unusual and challenging configuration. Do other browsers behave any better?
- bad_user 13y agoThe problems I've been having in Firefox are with badly behaved apps - with memory leaks and stuff. Firefox manages memory better than Chrome, but when a tab leaks it can freeze the whole browser. Still, this happens rarely enough that it isn't an issue for me, plus Firefox is much better at keeping many tabs open. I did disable Flash and now I have to "click to play" - but I'm doing the same thing in Chrome too, because fuck Flash. I feel like Chrome is better when rendering stuff - like we've got this plotted graph in our app's admin, rendered with Javascript and I believe HTML5 Canvas or something, with too many points on it and Firefox can't handle the rendering, it chokes, whereas Chrome can do it. On the other hand, I feel like Firefox is snappier in general.
- ndesaulniers 13y ago> tab leaks it can freeze the whole browser Process per tab is _almost_ ready: http://billmccloskey.wordpress.com/2013/12/05/multiprocess-firefox/ http://billmccloskey.wordpress.com/2013/12/05/multiprocess-f... You can play with it by setting `browser.tabs.remote` to true in about:config.
- ZoFreX 13y agoI don't even want process per tab, I'd be happy with something much simpler: Tell me which tab is causing Firefox to use 100% CPU! This happens fairly frequently with lots of tabs open (I guess I use a lot of websites with really bad javascript) and the only recourse is to either quit Firefox entirely and re-open it, or play a guessing game.
- ndesaulniers 13y agoFirefox will stop any client side JavaScript after 5-6s and ask whether you want to keep running the slow running script or not. If will even change to that tab before prompting you. Isn't that what you just described?
- ZoFreX 13y ago
- jobigoud 13y agoYou are talking about Chrome right ? We have a memory intensive app which works perfectly on FF26 (and IE11), and crashes the tab on Chrome 32 with memory hitting 3GB+ and up. Their garbage collector must be leaking like crazy. (Works in Chrome 22).