Slashdot Mirror


Memory Usage of Chrome, Firefox 3.5, et al.

An anonymous reader writes "This experiment graphs the memory usage of Chrome and Firefox 3.5 (along with Safari and Opera) over a series of 150 Web page loads using an automated script. Firefox 3.5 shows the lowest memory usage in all categories, including average memory usage, maximum memory usage, and final memory usage. Chrome uses over 1 GB of memory due to its process architecture. Safari 4 and Opera show memory usage degradation over time, while Chrome and Firefox 3.5 are more reliable in freeing memory to the OS." IE 8 was not included "because the author could not find a way to prevent it from opening a new window on each invocation of the command."

505 comments

  1. IE8, huh? by palegray.net · · Score: 5, Funny

    I couldn't find a way to keep it from sucking so forcefully all the air was evacuated from my office every time it was run.

    1. Re:IE8, huh? by Frosty+Piss · · Score: 3, Interesting

      I think you are full of shit.

      On one of my machines, IE8 is slightly faster than FF. But on my old slow machine, IE8 is *much less* of a memory pig, so much so that I had to drop FF simply because after awhile with a few tabs open, it slowed my machine to a crawl and eventually required me to kill it in the Task Manager.

      Some people have tried to tell me that I just don't know how to set FF up to run efficiently. I say that I shouldn't have to.

      I'm not happy about this because *I am not* a "whatever works" guy, I very much want to support OSS and spacifically FF. But it just doesn't work for me. Right now. Yet.

      --
      If you want news from today, you have to come back tomorrow.
    2. Re:IE8, huh? by Anonymous Coward · · Score: 3, Interesting

      Seriously? I've never seen IE8 take up less memory than FF, ever, for any combination of pages. Right out of the box, FF is much lighter weight.

      I can't imagine what you were doing wrong.

    3. Re:IE8, huh? by Ethanol-fueled · · Score: 1

      I couldn't find a way to keep it from BLOWING so forcefully all the air was evacuated from my office every time it was run.

      Fixed that for 'ya, Phil.

    4. Re:IE8, huh? by Anonymous Coward · · Score: 0, Redundant

      maybe it was you that was doing something wrong with IE?

    5. Re:IE8, huh? by A12m0v · · Score: 1

      Just use Chrome

      --
      GENERATION 25: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
    6. Re:IE8, huh? by tonywong · · Score: 1, Insightful

      Resource usage, compatability, performance and security. Talking about 1 of the criteria without referring to any of the rest is like talking about trees falling in the forest. Especially when it's not compared with IEx as a reference point, since the earlier versions are still(!) the dominant browser for most of the population.

    7. Re:IE8, huh? by hairyfeet · · Score: 2, Informative

      Have you tried Kmeleon or Kmeleon CCF ME? Both of those are OSS and from my own experience with older machines both use far less memory than FF3, due to the fact they are coded to run Win32 as opposed to XUL. The Kmeleon CCF ME build uses a little more memory, but that is due to the built in ABP support.

      So if you want to get away from IE but need a browser that is light on RAM I would recommend either of the above. The CCF ME build comes in a zip so it is also quite useful as a flash based browser, if you require one. But either works really well if you are low of RAM, and they even have instructions on how to use Kmeleon on OSes as old as Win95. So give them a try, what have you got to lose?

      --
      ACs don't waste your time replying, your posts are never seen by me.
    8. Re:IE8, huh? by Anonymous Coward · · Score: 0

      like running it in the first place?

    9. Re:IE8, huh? by floydman · · Score: 0, Redundant

      maybe it was you that was doing something wrong with IE?

      that question flashed very unpleasant images in my head!

      --
      The lunatic is in my head
    10. Re:IE8, huh? by SalaSSin · · Score: 0

      Steve, is that you?

      --
      Any sufficiently advanced incompetence is indistinguishable from malice - Grey's Law
    11. Re:IE8, huh? by FudRucker · · Score: 1

      k-meleon is cool, i wish they would port it to linux using fltk or gtk, (preferabily fltk since it is very lightweight), i bet a lot of firefox users and anyone that wanted a simple lightweight browser to be eternally greatful :)

      --
      Politics is Treachery, Religion is Brainwashing
    12. Re:IE8, huh? by Chih · · Score: 1

      It's went from suck to blow!

      --
      For best results, avoid doing stupid things.
    13. Re:IE8, huh? by Nicolay77 · · Score: 1

      This is a benchmark of unreleased versions of those browsers.

      Probaby they did a lot of fixing in FF 3.5 compared with FF 3.0

      I also think Firefox is a memory hog and I use Opera, but it doesn't mean that the software can't evolve.

      --
      We are Turing O-Machines. The Oracle is out there.
    14. Re:IE8, huh? by Dash+Hash · · Score: 2, Insightful

      You comment that IE8 was slightly faster than FF, but you don't mention which version of FF you were using.

      The article is talking about the currently-RC-status 3.5. Were you, by chance, using FF2 or earlier to compare? Earlier versions of Firefox have known issues with memory leaks. Many of these, though not all, have been fixed in the 3.5 version.

      If you're going to say that "IE8 is slightly faster than FF" and that it is significantly better on older machines, you really ought to have said which version of Firefox you were using.

      Of course, this goes both ways. Saying Firefox 3.5 is lightyears ahead of IE, without mentioning which IE it was being compared with, is utterly useless. Yes, Firefox 3.5 is lightyears ahead of IE5, 5.5, 6, or earlier versions (if they even still exist), but not so much when compared to 7 or 8.

      Anecdotal evidence really does need versions along with it to at least look intelligent.

      --
      Calling a sword by a pretty name is no more than adding perfume to poison.
    15. Re:IE8, huh? by rcamans · · Score: 1

      Try telling us exactly what OS and service pack you were running on the "super MS" machine, and what chipset and memory the motherboard had. Run cpu-z to get the info. You can do a html dump and paste it.
      Otherwise, your comments are undocumented hearsay, rumors, bs.

      --
      wake up and hold your nose
    16. Re:IE8, huh? by Anonymous Coward · · Score: 0

      I think you're full of it. IE8 won't work with most of the websites I and my coworkers need it to. We've all agreed IE8 is not to be installed on any company computers.

    17. Re:IE8, huh? by DeadboltX · · Score: 1

      In Vista x64: IE8 spawns a new iexplorer.exe process for every new tab inside a single windowed instance of IE8. Are you adding up the memory for each process and comparing the sum to Firefox's memory usage?

    18. Re:IE8, huh? by miknix · · Score: 1

      Yet, a I'm-not-a-Microsoft-fan-either-but-I'm-obfuscated-by-all-Microsoft-products guy.

      Geezz, does this ever get old?

    19. Re:IE8, huh? by hairyfeet · · Score: 1

      There are instructions for getting it running in Wine, that said since the whole point of Kmeleon was to convert XUL to Win32 I doubt it would be easy to convert to Linux native. Of course one of the nice things about OSS is you are free to do it yourself or talk someone who is a Linux coder into helping as the source code is freely available.

      After all that is how we got Kmeleon CCF Me(which I have been using and is quite nice) which was just a Kmeleon user deciding that they would like built in ABP and a nice modern looking interface. While I haven't heard of this fltk I'm sure there are many Linux coders that are familiar with the language and syntax. If one was to convert I would look at Kmeleon CCF ME for the built in ABP and nicer interface. It would probably look good on any KDE or Gnome DE.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    20. Re:IE8, huh? by Sparr0 · · Score: 1

      That seems to be what they did for Chrome. Do you disagree with this testing methodology?

    21. Re:IE8, huh? by AmigaMMC · · Score: 1

      C'Mon guys, that is not flamebait. Some people should not be allowed to moderate as they use it as a personal weapon. I haven't tried FF3.5 but I run 3.0 and until 3.0 came out all previous versions of FF sucked a lot more than IE regarding memory use. I thought it was just my computer then I started researching the issue and turned out that waste of memory resources was a common thing in FF2.x That didn't stop people from flaming me and saying that it was my fault for not knowing how to use FF. Well, guess what, you click on the icon and you start the program. If one has to start editing config files to make the software work than it's game over.

  2. Finally... by E+IS+mC(Square) · · Score: 1, Insightful

    Finally, this should stop perennial "firefox is a memory hog" trolls. Hopefully.

    1. Re:Finally... by Banacek · · Score: 3, Interesting
      http://img12.imageshack.us/img12/7330/picture1uo4.png

      Firefox is still my browser of choice, due to the plug-ins I use daily. I have to wonder how Flash intensive the sites loaded were.

    2. Re:Finally... by siddesu · · Score: 2, Funny

      Well, and here's mine, after half a day of heavy usage:

          PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
        8745 root 20 0 267m 106m 22m S 9.3 10.6 2:38.87 firefox-bin
        5242 root 19 -1 334m 24m 8540 S 1.3 2.4 0:36.26 X
        5405 root 20 0 37520 11m 8408 S 0.0 1.1 0:01.16 xfdesktop
        5400 root 20 0 19468 10m 6964 S 0.0 1.0 0:02.72 xfce4-panel
        5398 root 20 0 18600 9272 6696 S 0.0 0.9 0:00.80 xfwm4

    3. Re:Finally... by Anonymous Coward · · Score: 5, Funny

      Firefox...as root...REALLY?!

      You should be ashamed.

    4. Re:Finally... by Frosty+Piss · · Score: 4, Interesting

      Finally, this should stop perennial "firefox is a memory hog" trolls. Hopefully.

      This really hasn't been my experience, and I am not trolling. My experience, which is to say what actually happens to me when I am surfing , is that after awhile with a few (2 or 3) tabs open, FF memory usage rises to the point where my machine crawls to a stop, and I have to kill FF with the task manager.

      Why is my FF experience different than the average FF fanboy? Why this is, I don't know. I do know that I am unwilling to get "under the hood" and edit config files, because I don't think I should have to.

      This is my experience as what I believe to be "average" use.

      --
      If you want news from today, you have to come back tomorrow.
    5. Re:Finally... by Anonymous Coward · · Score: 2, Insightful

      Running a browser as root? You, sir, are a brave man.

    6. Re:Finally... by Banacek · · Score: 1

      I honestly don't think the issue is with Firefox. I think there is something wrong with Firefox/Flash. Hopefully they will figure it out.

    7. Re:Finally... by RedWizzard · · Score: 2, Insightful

      http://img12.imageshack.us/img12/7330/picture1uo4.png

      Firefox is still my browser of choice, due to the plug-ins I use daily. I have to wonder how Flash intensive the sites loaded were.

      Was that 3.5 or 3.0? 3.0 has a terrible memory footprint...

    8. Re:Finally... by Anubis+IV · · Score: 4, Informative

      The report doesn't consider plugins, which are the things that I think most people identify with Firefox feeling bloated or memory heavy. Vanilla Firefox may very well be light on memory, but once you load in a handful (or a few dozen) of your favorite plugins, the tests may not turn out the same.

      Keep in mind, I am not attempting to imply that the results would certainly be worse, just that they are currently unknown to us and that it's something that needs to be considered.

    9. Re:Finally... by sznupi · · Score: 2, Informative

      Some of those "trolls" weren't about memory usage, but about overall degradation of user experience over time (hey, I have tons of memory, apps should use it).

      I used Phoenix/Firebird/Firefox almost since its inception, plus functionality of few nice plugins isn't implemented in Opera (vast majority of features/plugins that, according to claims, keep people on Firefox, actually are), but the latter is the only browser which doesn't force me into managing it / using it in a particular way just so it remains usable (Chrome comes close to it, technically, but it lacks features; IE is of course even worse; didn't really try Safari; and what's funny...Mozilla Suite/Seamonkey is noticeably better than "leaner" Firefox)

      As a matter of fact...Firefox 2.x was much better than 3.x (I check it every few months) when it comes to UI remaining responsive/etc. under heavy usage; which causes me to suspect they overshoot with memory usage reduction, missed that sweet spot of amount of memory required by particular codebase to work properly (and Gecko has it higher than others - how many years are we waiting for mobile version? Will it work on my 230MHz AMR phone with 12MB of user RAM? (Webkit and Opera do...))

      --
      One that hath name thou can not otter
    10. Re:Finally... by malkman · · Score: 1

      Aha, yeah I just took a look and firefox.exe is using about 418MB of RAM. Honestly though, ram is pretty damn cheap nowadays. Even being broke I've managed to accumulate 8GB worth, and other than the occasional precursory glance, I don't worry about how much I'm using anymore... Actually now that I think about it 418MB is pretty fuckin bad, I need to turn off some of these extensions

      --

      Robort knows all.
    11. Re:Finally... by Lennie · · Score: 2, Informative

      It's 3.0, 3.5 has a new icon.

      --
      New things are always on the horizon
    12. Re:Finally... by compro01 · · Score: 1

      FF memory usage rises to the point where my machine crawls to a stop, and I have to kill FF with the task manager.

      And what is that point? How many MB?

      --
      upon the advice of my lawyer, i have no sig at this time
    13. Re:Finally... by Banacek · · Score: 1

      Yeah, it's 3.0. Maybe it's time to check out the new 3.5 RC.

    14. Re:Finally... by Colonel+Korn · · Score: 3, Insightful

      Finally, this should stop perennial "firefox is a memory hog" trolls. Hopefully.

      This really hasn't been my experience, and I am not trolling. My experience, which is to say what actually happens to me when I am surfing , is that after awhile with a few (2 or 3) tabs open, FF memory usage rises to the point where my machine crawls to a stop, and I have to kill FF with the task manager.

      Why is my FF experience different than the average FF fanboy? Why this is, I don't know. I do know that I am unwilling to get "under the hood" and edit config files, because I don't think I should have to.

      This is my experience as what I believe to be "average" use.

      That's not normal. Just because someone uses Firefox without it affecting system performance doesn't make that person a "FF fanboy." On XP, Vista, and 7, FF has no obvious effect on my system performance (on a Lenovo T61, my desktop, and my netbook, respectively). I have 3.0.11 on two of those and 3.5 on the other. The only thing I've done to get "under the hood" is install adblock plus. Right now I have 13 tabs open in Vista and FF is using 109 megs of RAM and 0-1% of my CPU cycles, with no noticeable effect on anything else. The only time I've ever felt FF3 affect system performance has been when running flash video on the netbook. Maybe flash ads are the cause of your woes; they're all removed with adblock. You might give it a try.

      --
      "I zero-index my hamsters" - Willtor (147206)
    15. Re:Finally... by E+IS+mC(Square) · · Score: 1

      Are you on 3.5? I am not too sure.
      This article is about 3.5rc1.

    16. Re:Finally... by Anonymous Coward · · Score: 0

      If its "finally" being resolved, then it was an actual problem, not a troll.

      Funny how the fanboys always try to make out all criticism as "trolls".

    17. Re:Finally... by something_wicked_thi · · Score: 2, Informative

      Do you really do 'which sudo' before running it and entering your password.

      Do you think it's so hard to replace "which" as well?

      Sha1 your .profile each time your open a new terminal?

      Or sha1sum?

      Check your .desktop files to see if the system administration menu items actually run those programs?

      That could be a little harder, but I'm sure you get my point by now.

      However, there are several good reasons not to run your browser as root. First, it can do a lot more damage if it misbehaves. Second, there's greater security exposure since it means that other users who don't have sudo access on the local machine might be able to get root by exploiting the browser.

      E.g. if someone exploits sendmail, but it's run as a non-privileged user, then that user might be able to find a hole exploitable only via localhost to gain root access via the browser. This is why you should run as few things as root as possible, even if they don't access remote machines.

    18. Re:Finally... by Anonymous Coward · · Score: 0

      Well, you shouldn't have a ga-freaking-zillion plugins. There is a pretty low signal to noise ratio. I'm suspicious of anyone who claims they need or really want a couple dozen plugins.

    19. Re:Finally... by syousef · · Score: 5, Informative

      Finally, this should stop perennial "firefox is a memory hog" trolls. Hopefully.

      They weren't trolls. I've seen the memory leaks first hand. Plenty of people have posted OS memory usage screenshots. It may have been particular extensions or advanced settings that caused the problems but it was not some work of fiction.

      You're the one trolling.

      --
      These posts express my own personal views, not those of my employer
    20. Re:Finally... by Seumas · · Score: 5, Insightful

      Too bad it won't stop all the "what memory problem?" trolls.

      Remember how 3.0 was touted to solve all the memory problems? I still get 1.5gb of usage *regularly* on multiple platforms with 3.0.11 without any installed extensions after a few hours. In fact, I'm on Firefox 3.0.11 on OSX 10.5.7 right now and it's at 1.3gb. You can tell when it's being a memory hog again, because videos won't play without stopping and stuttering and pages take longer to load and switching tabs feels glacial.

      So, considering 3.0 originally was supposed to solve everything, I think I'll not hold my breath on 3.5. Especially for a problem that continues to happen across platforms.

    21. Re:Finally... by the_womble · · Score: 1

      I have 14 installed an enabled, despite making an effort to disable or remove anything I do not use regularly.

    22. Re:Finally... by mspohr · · Score: 1
      I doubt that this will stop the trolls. Trolls aren't usually deterred by facts.

      If you read further, you will see the the trolls are still going strong.

      --
      I don't read your sig. Why are you reading mine?
    23. Re:Finally... by Menkhaf · · Score: 2, Funny

      Finally the Windows users are using Linux?

      --
      A proud member of the Onion-in-Hand alliance
    24. Re:Finally... by the_womble · · Score: 1

      Finally, this should stop perennial "firefox is a memory hog" trolls. Hopefully.

      No it will just start "Chrome is a memory hog" as well.

      Am I right in thinking that Chrome's process per tab approach would use less memory on Linux/Unix than it does on Windows?

    25. Re:Finally... by Lennie · · Score: 1

      It can't be that bad, it's a RC after all.

      --
      New things are always on the horizon
    26. Re:Finally... by Ex-MislTech · · Score: 2, Informative

      While you wait for them to figure it out, enjoy the Flashblock plugin.

      --
      google "32 trillion offshore needs IRS attention"
    27. Re:Finally... by sopssa · · Score: 4, Insightful

      This just shows that when more Windows users (or convenience-first users) move to linux, the added security wont help. Users will continue to do everything the way that is most convenient to them, and that is gonna bring more attack vectors aswell. The neverending "linux is just more secure OS" only affects those who know what they're doing, but that way it works in Windows aswell (I dont run av/fw, and I've never had any problems [checked some times really deeply from filemonitors and packet sniffing], but on the hand I know what I'm doing and what not to do).

      And no, you cant teach them security. Normal users aren't that interested in it, so they wont learn.

    28. Re:Finally... by Anonymous Coward · · Score: 0

      yes, really. did you check his ID from a screenshot? maybe he was running something on an embedded device? man, you people and your stereotypes ...

    29. Re:Finally... by A12m0v · · Score: 1

      What the FUCK is wrong with you?

      --
      GENERATION 25: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
    30. Re:Finally... by Anonymous Coward · · Score: 0

      And here I thought one of the biggest gripes about Windows was that everything is run as Administrator (or used to be). Maybe I missed the point. I think it's more likely that you did.

      What reason could you *possibly* have for running a web browser as root?

    31. Re:Finally... by A12m0v · · Score: 1
      --
      GENERATION 25: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
    32. Re:Finally... by A12m0v · · Score: 1

      In Chrome closing a tab frees all the memory it acquired, so it might use more initially but in the long term it does better than any other browser in freeing memory when a tab is closed.

      --
      GENERATION 25: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
    33. Re:Finally... by tyrione · · Score: 1

      http://img12.imageshack.us/img12/7330/picture1uo4.png

      Firefox is still my browser of choice, due to the plug-ins I use daily. I have to wonder how Flash intensive the sites loaded were.

      Not many:

      4. Alexa sites

      Because every user has a different selection of sites he uses, the sites tested programmatically in this examination were taken directly from the Alexa top sites CSV file at http://s3.amazonaws.com/alexa-static/top-1m.csv.zip. This list is the property of the Alexa service and will not be made available on dotnetperls.com. The CSV used was downloaded on June 19, 2009.

      I'm more appalled at the size of this spread sheet file listing. What an abortion. Could they have just skimmed it down to the top 150?

    34. Re:Finally... by argiedot · · Score: 1

      Which makes me wonder, really. What is the advantage of running in root? It sounds to me like if you're using sudo many times a day, then you're doing it wrong.

    35. Re:Finally... by argiedot · · Score: 2, Informative

      Plus, on Windows at least, the way it's made seems to let old tabs go to swap. That way it sometimes suddenly takes a lot of time to open up a tab you last used 8 hours ago, but it doesn't take as much RAM at any particular point. Can't say about Chromium on Linux, because I don't use swap there.

    36. Re:Finally... by hairyfeet · · Score: 1

      Why? Here is the list of plugins I have, and BTW I am using a grand total of 77Mb of RAM on this old 1.1GHz Celeron (makes a great Nettop) with 3 tabs and a 400Mb download running. Every plugin I have I use. here is the list-ABP,Distrust,Downloadstatusbar,Downloadhelper,FEBE(a real must have IMHO as it makes syncs and backups of multiple FF installs butt simple) forecastfox,iMacros(another must have if you want to automate),Noscript and Orbit downloader(my oldest refuses to use anything but orbit).

      So we are talking 9 plugins and I am STILL only using... oh, the download finished so i dropped to 71Mb. And on this 1.1Ghz Celeron maxed out with 512Mb of PC100 with Win2K Pro FF3 (3.0.11 to be exact) is still quite snappy. The only time it chugs is on first startup, but since I only launch it once a day I really don't care if it takes a few seconds to load. I have found Noscript and ABP to be a must though. If you load a bunch of flash heavy or ad heavy sites they can bring any browser to their knees. So I block all flash except for when I actually am watching a video, and that really helps with the responsiveness.

      But I've found that I just don't see the plugins leak like I did with FF2, they either all learned to code better or FF3 is simply better with memory management. Either way when I can happily surf with a nearly decade old box running Win2K and have a very pleasant surfing experience with all my plugins I'm a happy little camper. Thanks Firefox developers!

      --
      ACs don't waste your time replying, your posts are never seen by me.
    37. Re:Finally... by shutdown+-p+now · · Score: 1

      Or maybe he just moved to Linux from Vista because he hated UAC in the latter.

    38. Re:Finally... by something_wicked_thi · · Score: 3, Insightful

      Actually, I think you're on the verge of something here. Let me make the step for you. Repeat after me... "Nobody will choose security over convenience."

      You can say you know what you're doing, but the only real difference between you and the "convenience users" you mention is that you draw the line in a different place. There are still plenty of things that are probably too inconvenient for you to do, even though they'd make your computer more secure.

      Really, the most secure OS is not the one that is off, nor the one that can be used in a secure fashion if you know what you're doing. The most secure OS is the one that makes security convenient.

    39. Re:Finally... by siddesu · · Score: 2, Informative

      Why? I run a very small custom linux off a read-only flash on a very-very old panasonic notebook whose HDD burned accidentally.

      I like it because it is still smaller than a netbook, has a touch screen, and the battery lasts 7 hours.

      I couldn't care less if someone compromises my current session (even if they could), as I'll be starting afresh from the flash rom next time anyway.

      Besides, I could very well be running root with UID 1000 instead of 0, how would you know?

      Anyway, back on topic, the new firefox isn't the memory hog it used to be, at least on my system.

    40. Re:Finally... by smoker2 · · Score: 5, Interesting

      Exactly. I think I've su'd once in the last month, and that was yesterday to mount a ram disk to use as the Firefox disk cache. That was a nice tip BTW, significant speedup in page loads and UI responsiveness.

      mount -t tmpfs -o 'size=100M' tmpfs /path/to/chosen/mountpoint

      Create an about:config preference called browser.cache.disk.parent_directory with a string value of /path/to/chosen/mountpoint .

      You do need to restart the browser for it to take effect. I also chowned the ram disk to my user name so that FF can write to it. 100MB is probably a bit too big, but when I set it as 50MB it filled up. I'll tweak it later when I see what is usual for the cache. It's currently running at 47.47MB with 2 tabs, and I'm not anal about avoiding closing the browser if I'm not using it.

    41. Re:Finally... by Krneki · · Score: 2, Informative

      I use QuickRestart plugin, so when Firefox is having her period, I just restart it quickly. All the web pages that were open will reload again.

      Usually I use it for Java unresponsive errors, since I have 4 ton of ram.

      --
      Love many, trust a few, do harm to none.
    42. Re:Finally... by Xenographic · · Score: 2, Insightful

      > They weren't trolls. I've seen the memory leaks first hand. Plenty of people have posted OS memory usage screenshots. It may have been particular extensions or advanced settings that caused the problems but it was not some work of fiction.

      While they weren't trolls, people have been talking about them as if they were still there long after Firefox addressed pretty much all of them. There might be a buggy extension or two still designed to gobble up memory, but I haven't seen one no matter how much I use Firefox on the pitiful machines we have at work, and I use quite a few of the more popular extensions (Adblock+, NoScript, and about a dozen others).

      So they weren't trolling, but I suspect some people are still bashing Firefox based on outdated information. Unless you have new OS memory usage screenshots to post?

    43. Re:Finally... by donaldm · · Score: 1
      My experience with Firefox has been exactly the opposite. I am now running Fedora 11 which comes standard with Firefox 3.5b4, however since my laptop (2GB memory) acts as a server it is not unusual to have my son and wife logged in and in addition to myself they are all running Firefox. We all run multiple tabs (at least four or more) and I have not had any performance issues. See the following after almost three days of use.

      top - 20:42:01 up 2 days, 22:38, 7 users, load average: 0.10, 0.16, 0.20
      Tasks: 224 total, 5 running, 216 sleeping, 3 stopped, 0 zombie
      Cpu(s): 3.5%us, 2.4%sy, 0.0%ni, 94.0%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
      Mem: 2037912k total, 1965812k used, 72100k free, 101852k buffers
      Swap: 2097144k total, 26020k used, 2071124k free, 939908k cached

      Running Firefox or any non system application as root is really asking for trouble. Try use in "useradd" or your admin GUI and create a normal user name and use that. You only need root access when administrating your machine and that should only be on rare occasions at least for non MS Windows OS's. :)

      --
      There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
    44. Re:Finally... by Bert64 · · Score: 1

      Firefox seems to use more ram if it's available... Thats why that guy with the old panasonic laptop which probably doesn't have much ram, isn't using very much for firefox.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    45. Re:Finally... by papershark · · Score: 2, Insightful

      Saying that Linux is safer is like say that wearing a 'Dragon's Karate Dojo' T-shirt makes your safer. It's not the T-shirt... it's the practice of the owner that makes him safer.

      There might be some rub-off safety for those that wear the T-shirt, but don't do the karate.

      If everyone who didn't do karate thought they were safer wearing this T-shirt, it would become convenient for muggers to attack them.

    46. Re:Finally... by renoX · · Score: 1

      >This just shows that when more Windows users (or convenience-first users) move to linux, the added security wont help.

      That's an exageration..
      By default in a normal Linux distribution users run as a normal user not root (and some even try to discourage to run as root), but with Windows XP users by default are administrators: default *matters* as most users don't change them.

    47. Re:Finally... by syousef · · Score: 2, Informative

      As I write this Firefox mem usage is 271,480 MB and had peaked at 323,864. I have 4 windows open. One has 5 tabs, the other have 1 tab each. I just closed all except the 5 tab window and I'm only back down to 260,892.

      That's not as extreme as it once was, but it's not gone. I get a truckload of memory back by killing the browser and starting afresh. Some of that is necessary due to session history etc. but the fact remains FF is a memory hog.

      If you're not seeing similar memory usage your browsing habits are probably different. Possibilities include:

      - Different extensions
      - Visiting different web sites with different types of content (eg. flash)
      - Using tabs and new windows differently

      That doesn't make what I'm doing abnormal, unusual or wrong. FF gripes are legitimate.

      --
      These posts express my own personal views, not those of my employer
    48. Re:Finally... by maxume · · Score: 1

      Your problem is probably the flash plugin. Using Flashblock, I'm at 175 megabytes after a week.

      --
      Nerd rage is the funniest rage.
    49. Re:Finally... by Anonymous Coward · · Score: 0

      Maybe it's time to upgrade and stop using FF2 mkay?

    50. Re:Finally... by eapache · · Score: 1

      I have to say, FF 3 is this bad for me as well, but with FF3.5 I'm at about 200MB after a few days. And if I close all but one of the tabs I have open, it drops to about 75MB.

      3.5 is a much bigger improvement for me than 3.0 was.

    51. Re:Finally... by sopssa · · Score: 2, Informative

      You're comparing to an OS that was released in 2001 (xp) and which isn't really sold anymore, nor does it come with new PC's. In Vista and Win7 users dont run by default as administrator and install even says that its encouraged to create separate account for user. UAC (win7 has better uac than vista) also protects doing stuff under admin. Its just as usable as sudo *if you know what you're doing*. Different tool doesn't change users stupidness or ignorance.

    52. Re:Finally... by MobyDisk · · Score: 2, Informative

      Except, under Linux, it isn't really that much easier to run as root. Actually - running as root is a hassle because many apps complain if you do so.

    53. Re:Finally... by selven · · Score: 3, Funny

      Firefox mem usage is 271,480 MB

      Wait, why are you running firefox on a supercomputer?

    54. Re:Finally... by Anonymous Coward · · Score: 0

      You really need to work on your punctuation. I honestly have no idea what your 2nd "sentence" is saying.

    55. Re:Finally... by chdig · · Score: 2, Insightful

      Or maybe since he appears so sick and tired of sudoing everything under the sun, he should consider moving to Vista and its no-longer-so-intrusive UAC.

    56. Re:Finally... by Ogive17 · · Score: 1

      That's what people on /. do, beat a dead horse.

      --
      "Action without philosophy is a lethal weapon; philosophy without action is worthless."
    57. Re:Finally... by Anonymous Coward · · Score: 0

      Perhaps he's European and that is a decimal point.

    58. Re:Finally... by Anonymous Coward · · Score: 1, Funny

      Because that's the only computer it will run on.

    59. Re:Finally... by Uber+Banker · · Score: 1

      Happens here too, but 'a while' tends to be after 6 hours of surfing. I'd put a lot of weight on the plugins, mine are Firebug, Flash Player, British English Dictionary, Chinese Pera-kun (that's it). All are essential to my surfing. But having to force a shut down isn't a big hassle, the OS keeps running, and that's fine.

    60. Re:Finally... by Anonymous Coward · · Score: 0

      This story and the related article opened in Firefox, i.e., two tabs, and a page of Slashdot comments.

        PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
      4995 root      20   0  381m  63m  12m S  1.3  7.2  20:44.82 Xorg
      5633 notroot   20   0  284m 176m  25m S  0.7 20.0  55:30.82 firefox

      Firefox often takes up 100% of CPU running Slashdot Javascript - e.g., just now opening and setting the "Options" to set to code.

      Firefox simply sucks on anything that isn't 2GHz / Dual-Core. As soon as Chrome is out for Linux and usable/full featured, Firefox is getting dumped like the bitch it is.

    61. Re:Finally... by gbarules2999 · · Score: 1

      Wow, Firefox has some fucking huge memory leaks. Maybe you need to be running Adblock Plus on when you're surfing for Hi-Def porn.

      I can't say I've ever has numbers like ones that you've listed, but that's just me. In both Windows and Ubuntu, Firefox rarely goes over 150 MB, unless I'm watching YouTube. What kinds of websites do you browse? (I'm not attacking your stats, I'm just curious)

    62. Re:Finally... by gintoki · · Score: 0

      Europeans (except for the UK) write a decimal as a comma ","

    63. Re:Finally... by Spatial · · Score: 2, Interesting

      It comes on pretty much every new netbook.

    64. Re:Finally... by Anonymous Coward · · Score: 0

      You know, the previous post I saw about Firefox 3 still being a memory hog was also from an OSX user. Maybe there's something platform specific?

      In Windows, I can't remember the last time I saw Firefox go over ~250 MB.

    65. Re:Finally... by LukePH · · Score: 1

      I have root own my .profile, and only let my user account have read access to it. same with .bashrc, .bash_profile, etc.

    66. Re:Finally... by Anonymous Coward · · Score: 0

      > You're comparing to an OS that was released in 2001...
      which is 5 years after the 'net became mainstream, 10 years and almost 30 years before linux and unix did privilege separation, about the time when the (barely usable but already better than vista when dealing with admin privileges) OSX 10.1 came out. Innovators :D
      I guess project nadal is the first time MS came out with something that yes, was already tried in the labs, but not mainstream with the competition.

    67. Re:Finally... by RiotingPacifist · · Score: 1

      Or maybe, why the fuck would he need to sudo everything as most stuff just works without administrators privileges (OR "shims"), especially browsers!

      --
      IranAir Flight 655 never forget!
    68. Re:Finally... by Tekzel · · Score: 1

      Personally, I have never found Firefox to be that much of a memory hog. Sure, I do eventually start having problems with it climbing up to half a gig and slowing down, but I have 4gb of memory, and I leave it running for weeks at a time on my machine without closing it. When it acts up I just close it and restart it and I am good to go. I also often find myself with 20+ tabs open.

    69. Re:Finally... by RiotingPacifist · · Score: 1

      Why?

      Because its a bad idea to give a process more rights than it needs. Sure i could leave my front door unlocked all day and I'd probably be fine, but its still a fucking stupid idea! While selinux/apparmor is a bit too much of a pita to setup for your average user, correctly configuring a system to not run browsers as root isn't that hard. While you are probably safe (most hackers CBA with bios), its still a terrible idea to do things the "wrong way"(tm) just because you can.

      --
      IranAir Flight 655 never forget!
    70. Re:Finally... by Reziac · · Score: 1

      Thanks for the info... we used RAMdisks for caching all the time in the DOS era, but the trick seems to have been forgotten!

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    71. Re:Finally... by Jesus_666 · · Score: 1

      Here's mine. Given that I have 35 tabs open (TabGroups Manager is a godsend!) and Firefox has been running for about two days since the last restart I think that's fairly okay; it comes out to about 34 megs per tab.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    72. Re:Finally... by Reziac · · Score: 1

      I use Seamonkey (I hate FF with a passion) ... with no plugins except Prefbar. Main problem I run into isn't memory but CPU usage. -- My internet machine is a lowly P3-550 with 1GB RAM and Win98 (swapfile disabled), so it's noticeable:

      As a quick experiment I just sent SM to the worst site I could think of offhand, realtor.com, opened a bunch of new windows (I never use tabs) and per sysmon, RAM usage increased by only about 10mb.
      Closed SM entirely and recovered about 150mb of RAM.

      However, CPU usage jammed up at 100% for a while SM arrived at realtor.com, and did so again for each new window.

      Personally I think devs should be forced to live with their creations on the MINIMUM hardware for a while, so they don't forget that not everyone has an employer buying them the latest and greatest whenever they want it.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    73. Re:Finally... by rcamans · · Score: 1

      Actually, I have seen problems with prior versions of all browsers. I am not sure that I can say for sure that the problems were memory leaks. The pages left open for a long time, overnight, even, were msnbc, boingboing, various search pages, etc. the offenders mostly had active animations and movies. ie, flash, adobe reader, etc. I believe many of the problems were actually flash player, etc, not the browser itself. The plugins are not reliable. This is not the fault of the browser. What the browser guys need to do is run a code check of the plugins, looking for memory issues, etc. Then get the authors to fix them
      Does acid test have a bunch of plugin tests?

      --
      wake up and hold your nose
    74. Re:Finally... by rcamans · · Score: 1

      oh, yeh, and javascript also hoses things up. also not a browser issue. but the browser guys could address it.
      Actually I wish that the browsers had a mode that would open up web pages without animations and players runing. much faster loading, and you could choose what activity to enable, instead of being stuck with whatever the web page felt you needed to see.

      --
      wake up and hold your nose
    75. Re:Finally... by Anonymous Coward · · Score: 0

      Stop being a pussy. If you aren't living on the edge, you aren't really living. Hell, I attach magnets to the side of my box "because I can". No, I run root because I'm a hardcore mother fucker!

      (Insert end of carrier style meme here)

    76. Re:Finally... by chdig · · Score: 1

      I don't think you realized that comments were merely a smart-ass response to a smart-ass parent.

      Since you want to go the serious route, should I point out to you that UAC isn't required for browsers, or "most stuff" on Windows either?

    77. Re:Finally... by guyniraxn · · Score: 1

      That's weird. I don't know what is causing this for you but I don't have such egregious memory usage in FF 3.0.11. I'm normally at ~400-500 MB, and that's with dozens of tabs open for a couple days or even weeks. I also have several extensions installed. I occasionally run in to some crappy flash or other type of website that leaks. The only one that sticks out in my mind is myspace but I only use it for a minute to check out a band before closing the tab to prevent it from slowing down my whole PC.

    78. Re:Finally... by Anonymous Coward · · Score: 0

      You could set the tempfs size to whatever you like, like 100% of your RAM or so. It's dynamic, and will not allocate more than what is used anyway. The size is just a stopper for how much it CAN grow, and is by default set to 50% of your RAM.

    79. Re:Finally... by Anonymous Coward · · Score: 0

      Try with Javascript disabled. The browser makers quest for JS speed is probably to blame for these kind of web experience abominations.

    80. Re:Finally... by Anonymous Coward · · Score: 4, Funny

      Europeans (except for the UK) write a decimal as a comma ","

      ...and express megabytes to three decimal places in casual conversation.

    81. Re:Finally... by oakgrove · · Score: 1

      Why go through all the trouble of creating a special RAM disk when you can just use the one that is already there and ready to go?

      browser.cache.disk.parent_directory with a string value of /dev/shm

      An added benefit is if you move your profile when you are reinstalling or whatever, you don't have to recreate the custom mountpoint or anything. Just fire Firefox up and go.

      Yes kids, with Linux, the batteries are indeed included.

      --
      The soylentnews experiment has been a dismal failure.
    82. Re:Finally... by MobileTatsu-NJG · · Score: 1

      Finally, this should stop perennial "firefox is a memory hog" trolls. Hopefully.

      You mean like the BSOD or flying chair comments?

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    83. Re:Finally... by darpo · · Score: 2, Interesting

      Someone really needs to put up a website, say, firefoxmemoryhog.com, and having people submit *exact* details from their machines when this happens. Which extensions are being used, which OS the person has, which version of FF. You hear these anecdotal reports about insane FF memory usage, but they're useless without hard config data. It's gotta be particular add-ons and plug-ins causing the problem. Just need to identify which ones, and shame them into fixing their issues.

    84. Re:Finally... by Anonymous Coward · · Score: 0

      This is also true for me. FF always been high on memory usage compare to Opera (I use FF when some site do a check on client and said it won't work). This is also true for a few people I work with. As far as I'm concern, this test is lying.

    85. Re:Finally... by Metapsyborg · · Score: 3, Informative

      Wow stop feeding this troll. LOOK AT HIS NAME. How can you not see this? I can't believe he got modded up, probably because there's some windows fanboys around, or just those idiots who believe every troll that jumps out and says "in MY experience!"

      Firefox runs all its tabs in one process, whereas IE8 creates a new process for each one. So if you have one tab open in FF and one in IE, then IE might be smaller (FF is about 130mb and IE about 60). But each new "tab" (not really, it's a new process so may as well be a new window or instance of the program) in IE is another 30-60MB, but each new tab in FF adds a negligible amount of memory usage.

      Open five tabs in each, tally up the usage from all the IE processes, and then compare.

      --
      (\(\
      (^.^) INFECTED
      (")")
    86. Re:Finally... by VxMorpheusxV · · Score: 1

      "Normal" here clearly depends on what sort of browsing you are doing. I use chrome exclusively now, but when I used Ffox there was absolutely no question that watching some [flash] videos meant I would have to restart the browser eventually.

    87. Re:Finally... by Anonymous Coward · · Score: 0

      Man, that's a lot of anger for a pacifist who cannot read.

    88. Re:Finally... by BitZtream · · Score: 1

      Or, why don't you just disable disk caching and increase your in memory cache in Firefox? No random mounts required, any user can do it and far more efficient and effective since you aren't adding a whole layer of abstraction to make it seem like a file system.

      Using a ramdisk seems like an extremely silly way to accomplish something Firefox already does and you're going to use anyway.

      browser.cache.memory.enable = true
      browser.cache.disk.enable = false
      browser.cache.memory.capacity = 512000

      And this is why its bad to let people see about:config ... you go look at it, have no clue what the hell you are doing and start making random changes and hacks while completely overlooking the fact that the browser thought of what you are requesting long before you used it for the first time.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    89. Re:Finally... by BitZtream · · Score: 1

      Or why not just turn off disk based caching in firefox and up the capacity to the ram based caching it already does.

      Its rather stupid to make a ram disk and mount it just for firefox when firefox already does RAM based caching and any disk caching going on has to go through the RAM cache anyway, so it can not possibly be faster than just using whats already built into the browser.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    90. Re:Finally... by BitZtream · · Score: 1

      Too bad it won't stop the 'Firefox is slow and bloated as hell when I have 1512512512 addons installed!' crowd. I'd really like to take them out back and shoot them.

      Yes, when you bloat your browser with a bunch of addons so it has all those cool features of other browsers, it does indeed become just as bloated as the other browsers, go figure.

      Wanna make firefox suck less? Start turning off stuff like adblock and noscript and all the greasemonkey/page modification addons you've thrown at it.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    91. Re:Finally... by BitZtream · · Score: 1

      Me too, of course its right after I loaded a 700mb CSV report from a website, can't imagine why its using so much ram ...

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    92. Re:Finally... by Anonymous Coward · · Score: 0

      I agree - I haven't had any memory issues at all with Firefox... on Windows, anyway.
      On Linux, it's a completely different story (same version of Firefox, btw). My experience has been almost exactly the same as FrostyPiss's - default settings, no plugins or extensions except for Adblock Plus.

      Perhaps all the "firefox is a memory hog trolls" are just regular users running Linux, and everyone else here runs Windows?
      I wouldn't expect that, but maybe all the Linux users having no problems can tell me what configuration they've done to get it to run decently.

    93. Re:Finally... by oakgrove · · Score: 1

      The issue is the massive amounts of writes Firefox makes to the sqlite database it keeps on the disk in cache. Pointing the cache to a RAM disk does significantly speed this up. Poo poo it all you want but it does work. Take it up with Mozilla.

      --
      The soylentnews experiment has been a dismal failure.
    94. Re:Finally... by Anonymous Coward · · Score: 0

      You fucking eediot retard! You can't turn off the cache in FF and even if you wanted to, then you'd have to pull everything off whatever site you are at everytime you refreshed the page. Fuck! Why can't idiots like you just stay on the slashdot.idt domain and leave the .org one alone?

    95. Re:Finally... by mgblst · · Score: 1

      So what OS are you using, and what version of firefox are you using, or is this too much information that only a fanboy would go into???

    96. Re:Finally... by roca · · Score: 1

      You should wait for a minute or so after closing tabs before checking for reduced memory usage --- we cache a lot of stuff for a short time in case you reopen the page again or navigate to a similar page.

      But you're never going to get back all the way to where you were by closing tabs, because stuff gets loaded and cached etc. A real memory leak is when you keep doing the same things and over time memory usage keeps increasing. So to check for a real memory leak, try this:
      -- open N tabs, measure memory usage.
      -- close the tabs.
      -- open the same N tabs again, remeasure memory usage.
      -- do that all again, say, 10 times.

      Then graph the measurements of memory usage. If they keep going up, you're seeing a real memory leak. Only these leaks are really important, because they'll mean the browser becomes unusable over time.

    97. Re:Finally... by renoX · · Score: 1

      First as other as said, XP is still sold on new computers.
      Second, Unix/Linux had the root/users separation since a long, long time, so in 2001 selling an OS with such poor defaults was really a stupid idea..

    98. Re:Finally... by cryptoluddite · · Score: 1

      The report doesn't consider plugins ... once you load in a handful (or a few dozen) of your favorite plugins, the tests may not turn out the same.

      But in all likelihood Chrome plugins will take more memory because of the process-per-tab model. There's necessarily some inefficiency from separating the plugins from everything else.

      Afaik Chrome goes to some lengths to avoid plugins exploding memory by having them run in one process instead of every process, but even so you'll probably end up with complicated plugins doing crazy stuff like inserting javascript into pages as they load, bloating them, that are unnecessary with a shared, one-process model.

    99. Re:Finally... by rs79 · · Score: 1

      "I have to wonder how Flash intensive the sites loaded were. "

      1) I'd have like to have seen the test pages quantified a bit more. There's a huge difference between some old static html pages, JS intensive pages like slashdot, facebook and ebay, flash videos and pdf stuff. I don't have the newset of laptops or the oldest, but the latest acrobat plugin is an unholy disaster.

      2) How valid is it to compare production releases of FF, chrome and safari with a *beta* version of Opera? That really makes me question the objective validity of this test.

      --
      Need Mercedes parts ?
    100. Re:Finally... by Samah · · Score: 1

      Sorry, I couldn't read that because of grey bars and friend/foe icons. Where's the "Slashdot classic" mode?
      On the other hand, copy/paste does wonders.

      --
      Homonyms are fun!
      You're driving your car, but they're riding their bikes there.
    101. Re:Finally... by syousef · · Score: 1

      But you're never going to get back all the way to where you were by closing tabs, because stuff gets loaded and cached etc

      Nice technical definition of a leak. Only problem is most people do not visit the same pages repeatedly in the fashion you describe. So whether or not it's technically a memory leak, not cleaning up what's loaded when it's no longer needed still leads to an unusable browser.

      Only these leaks are really important, because they'll mean the browser becomes unusable over time.

      So what you're saying is that if my computer is using all it's memory for a web browser that's displaying one page that's okay because it's had other pages opened in the past. That's nonsense.

      --
      These posts express my own personal views, not those of my employer
    102. Re:Finally... by Reziac · · Score: 1

      An AC suggests, "Try with Javascript disabled. The browser makers quest for JS speed is probably to blame for these kind of web experience abominations."

      I agree.... but the only reason I use SM at all is because of sites that won't function without JS and CSS, and those are typically the worst for every sort of performance issue, so you're doubly caught. :(

      For sites that degrade gracefully, I still use old Netscape 3, with JS and images both disabled... who knew Slashdot pages could load so fast?!!

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    103. Re:Finally... by Anonymous Coward · · Score: 0

      You mean FF doesn't use a separate RAM cache? You better stay on that .idt domain yourself.

    104. Re:Finally... by SD-Arcadia · · Score: 1

      Somewhere, somehow an odd disconnect is taking place between those two archetype FF users (I wouldn't call them trolls). I myself have been using this FF thing since 0.2, on XP with no memory usage problems whatsoever. I also use FF on Ubuntu since I think 2.0, again with no mem usage issues to notice. Always same add-ons, namely ABP, BugMeNot. This mem usage skyrocketing issue so often reported thus always appears as a mystery to me, and I assume to others who don't experience the problems. I really wonder what is going on.

      --
      https://dalgamotor.wordpress.com/ - Elektronik beyinlere ozgurluk asisi (Turkish)
    105. Re:Finally... by smoker2 · · Score: 1

      How do you monitor how much cache ff is using in that case ? All I have to do is check the usage of /path/to/cache/mountpoint

    106. Re:Finally... by smoker2 · · Score: 1

      And what if another application needs that memory ? I have specifically reserved space in RAM for FF use and FF use alone. And I know exactly what I was doing and have done it. The browser obviously didn't think of doing that, as it defaults to writing to disk. You have to create the preference, it isn't already there, so again, how is FF already doing it ?

    107. Re:Finally... by Anonymous Coward · · Score: 0

      Check your title bar dearest Troll. I believe you may be mistaken and are actually using IE 6.

    108. Re:Finally... by Frosty+Piss · · Score: 1

      No, I don't think so. I'm using the latest versions of IE and FF. The difference is that I'm not a fanboy blinded by idealistic delusion.

      - Frosty

      --
      If you want news from today, you have to come back tomorrow.
    109. Re:Finally... by renoX · · Score: 1

      About UAC: see this http://www.osnews.com/story/21653/Microsoft_Won_t_Fix_Windows_7_s_UAC

      Apparently Win7's UAC isn't better: it's worse from a security POV..

    110. Re:Finally... by Virtual_Raider · · Score: 1

      This just shows that when more Windows users (or convenience-first users) move to linux, the added security wont help. Users will continue to do everything the way that is most convenient to them, and that is gonna bring more attack vectors aswell.

      So called "power users" without a clue might, but average users will continue to use whatever is available out of the box. Try talking to your average non-computer-geek user and it will be a rare item to find one that knows what a process is. Some people that are of reasonable intelligence but have no computer inclinations know very little about how computers work. They know that to do what they want they double click on this or that icon and get on with it.

      The out-of-the-box Windows setup encourages poor security because up until XP it placed ease of use over security. With Vista and W7 they have achieved a better model. Users are now required to authorize potentially harmful operations, such as running or installing a given type of file. In other words, they now have to sudo.

      Just like the GP "dumbed down" the security on his machine by running FF as root, it is equally possible to "smarten up" XP doing the opposite. I always run firefox in an unprivileged mode via a batch on my XP box while still logged in as admin. The knowledge to do this is out of scope for your average user and possibly for more than a 4th of the power users. The same goes for "dumbing down" a default linux setup, not everybody will know how, or even know that it is possible at all.

      --
      +Raider of the lost BBS
    111. Re:Finally... by oakgrove · · Score: 1
      $ du -sh /dev/shm/Cache

      Sorry I took so long to reply.

      --
      The soylentnews experiment has been a dismal failure.
    112. Re:Finally... by Seumas · · Score: 1

      No, as I mentioned in my post, this is a multi-platform issue. It seemed to have gone away on OSX until a few updates ago at which point it began occurring again, just like it always has on Windows. I've experienced it repeatedly on almost every install I've tested it on and even in virtual machines and both in 3x and back in 2x. As I say, it seemed to behave MUCH better shortly after 3.0 (even on Windows to some degree) but has returned with a vengeance in the last few minor updates.

      It is frequently exacerbated with extensions, but also occurs without any installed in a slower and less severe basis.

      I worked at Netscape doing plenty of QA work in the late 90s, so I'm not exactly an inexperience neophyte, either. My initial assumption was toward sloppy extensions which some profiling proved can make it worse, but is not necessary for the problem to appear.

      The standard line from the Firefox camp has usually been "that's a feature!" and explained away as your browser needing 1.5gb of memory for "back button functionality".

      It should speak to the legacy of Firefox/Mozilla that despite this ridiculous problem, almost nobody who experiences is is willing to dump it as our go-to browser.

  3. It doesn't matter by BadAnalogyGuy · · Score: 4, Insightful

    Unless you are talking about a system with severely limited memory, memory usage is probably not the right criteria for deciding which browser to use.

    Something like "it doesn't show weird ass icons and bars when Slashdot decides to change CSS" is probably much more important. Firefox 3 totally screws up Slashdot in Default mode.

    1. Re:It doesn't matter by Ethanol-fueled · · Score: 5, Insightful

      Something like "it doesn't show weird ass icons and bars when Slashdot decides to change CSS" is probably much more important.

      I'm no web developer, but I don't quite believe that those artifacts are Firefox's fault. Why the staff would make broken changes on a live site is anybody's guess. Those artifacts are relatively minor annoyances but they won't serve the people who are considering switching to Linux and getting into open source only to discover that the primary forum for Linux nerds is every bit as broken as the Linux their Microsoft-loving buddies describe.

    2. Re:It doesn't matter by hedwards · · Score: 1

      I don't really agree, that's ram which I could be using for other things, there isn't really any good reason why a browser or any other application should be allowed to take up a lot of unnecessary ram. In order to deal with the spikes, there has to either be enough ram or the OS has to page things over to swap. Neither of which is necessarily what you want. And it's really not acceptable to require people to pay for too much ram simply because the developers are too lazy to worry about the amount of ram that they're wasting.

      Yes, getting CSS right is important, but let's be honest, as long as IE6 is making things look like ass, it's rather a moot point in most cases.

    3. Re:It doesn't matter by Anonymous Coward · · Score: 4, Informative

      It's not just firefox either. Over the last couple weeks /. has been a major pain to read via I.E. 7 (what I'm stuck with at work) Opera (9.6 and 10 beta) and with Firefox.

      The symptoms are not identical on all three browsers but none of the three has been working like it used to do.

      Although it does seem like it's been better the last day or two.

      I usually have /. as one of my always open tabs in Opera, but until the last couple days, I've been choosing otherwise, simply because /. was bogging down the entire browser even while I was off reading other tabs. But today, and now that I think of it yesterday as well it was not nearly as annoying.

    4. Re:It doesn't matter by compro01 · · Score: 2, Informative

      Something like "it doesn't show weird ass icons and bars when Slashdot decides to change CSS" is probably much more important. Firefox 3 totally screws up Slashdot in Default mode.

      Being as I get the exact same behavior on firefox (3.0.11), IE (6, 7, and 8), safari, and opera, I somewhat doubt it's firefox's fault.

      --
      upon the advice of my lawyer, i have no sig at this time
    5. Re:It doesn't matter by AnonGCB · · Score: 1

      Default install of Opera 10 Unite renders /. perfectly, as far as I can tell.

      --
      http://CryoLANparty.com/ A lan I'm staff on!
    6. Re:It doesn't matter by rtyhurst · · Score: 2, Insightful

      Hit the "change" button and the weird ass icons (etc.) disappear.

      Same as when the display was eating post titles a while ago...

    7. Re:It doesn't matter by Anonymous Coward · · Score: 0

      Use noscript and prevent /. from using javascript, that will prevent it from fucking with performance. Sadly, /. has been becoming more and more noscript unfriendly. Maybe ill just go back to IRC if it gets worse.

    8. Re:It doesn't matter by 1u3hr · · Score: 3, Insightful
      Something like "it doesn't show weird ass icons and bars when Slashdot decides to change CSS" is probably much more important. Firefox 3 totally screws up Slashdot in Default mode.

      It's totally fucked up in Opera too. Aside from graphics elements appearing randomly all over the screen, it takes a minute to load the page before I can scroll the damn thing. Then it freezes and jerks around.

      And the fucking front page that decides to load another 10 stories when IT wants to, and again freezes the screen till it's done.

      I can turn off javascript and get a reasonable page that loads quickly and is responsive, or just close the window and go somewhere else.

      How the hell they can unleash this piece of shit on a million users is beyond me.

    9. Re:It doesn't matter by Kaboom13 · · Score: 4, Insightful

      Have you seen the average corporate america system? They are often running 1 gb max on Windows XP. Add in IT department mandated AV software, management software, business apps coded in a bizarre mixture of visual basic, java, and excel/word macros, auto updaters for 20 different apps, and Outlook or Lotus Notes. I've seen images where just the mandatory software that ran at boot had the workstations paging to disk. In that kind of environment, ram usage matters. 1 app being wasteful with ram is not a big deal, but when all the devs for all the apps you use decide to be lazy, it can be an issue. A web browser should not use excessive ram, and memory leaks are a problem in any app.

    10. Re:It doesn't matter by kripkenstein · · Score: 5, Insightful

      Unless you are talking about a system with severely limited memory, memory usage is probably not the right criteria for deciding which browser to use.

      Chrome used over 1 GB in this test. Safari and Opera passed the 500 MB mark. That is an issue for far more machines than 'systems with severely limited memory'.

    11. Re:It doesn't matter by Bill,+Shooter+of+Bul · · Score: 1

      No, its not that my systems have a low amount of memory installed in them. Its that I do a gazillion things at once on my computer. A couple virtual machines running sucking a gig each, Eclipse running, Five different browsers all running at the same time, email, feed reader, Open office running, Adobe PDF reader, scribus working on creating a pdf, and anti virus.

      With all of that running, the 4 gigs of memory doesn't quite seem like enough sometimes. I'd certainly appreciate it if any one of my memory hogging programs could use less. But maybe I don't get a vote in this conversation because I have Chrome, IE, Safari, FireFox and Opera currently running ... actually lynx is also running but I don't think its the problem.

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    12. Re:It doesn't matter by amirulbahr · · Score: 3, Interesting

      It matters a lot in thin client scenarios. You want as many users as possible on the same server. Importantly, you want idle sessions to be friendly to the system by releasing as much memory as possible.

    13. Re:It doesn't matter by Anonymous Coward · · Score: 2, Funny

      I'm not a Firefox user... does it really show ass icons?

    14. Re:It doesn't matter by Ethanol-fueled · · Score: 1

      Probably just the NSA backdoors.

    15. Re:It doesn't matter by msuarezalvarez · · Score: 2, Informative

      For idle sessions, what you want is a sensible OS, lots of swap space and apps which do not tick a lot.

    16. Re:It doesn't matter by A12m0v · · Score: 1

      Or use Chrome, I have no problems with /. whatsoever!

      --
      GENERATION 25: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
    17. Re:It doesn't matter by gknoy · · Score: 2, Informative

      I have weird-ass artifacts on Firefox here at home, and I'm using Vista. It is very jarring to have the site look better in Opera (and MUCH better in IE) than in Firefox.

    18. Re:It doesn't matter by Anonymous Coward · · Score: 0

      Those wierd ass icons show up on Opera as well. It's not firefox's fault. It's slashdot web developer's fault for not knowing how to test and not understanding how the web works.

      As for memory usage, FF using up 1Gb and more memory is *THE* reason I switched to Opera. I don't need my browser to grind down my entire system. Opera's memory profile is much much more stable. I'll be happy to try FF 3.5 to see if anything has changed (I suspect the memory hog is actually flash, or wierd javascript crap, or maybe some FF plugin, who knows. Opera rocks).

    19. Re:It doesn't matter by RichiH · · Score: 5, Informative

      Be glad you are not using Konqueror 3.5.10 or 4.2.4; /. makes a point of breaking rendering on those browsers every few weeks.

      Random buttons and scroll-bars? Check.
      Black text on black background? Check.
      Utterly broken navigation so you can watch the front page and nothing else? Check.
      CSS, Javascript and other crap in _plain text mode_? Check.

      The only reason I keep coming back here for is the friendly discussion style ;)

    20. Re:It doesn't matter by rat7307 · · Score: 1

      Bless you! THAT was driving me nuts!

      --
      Burma?
    21. Re:It doesn't matter by Tweenk · · Score: 1

      Look at it this way: if you can open 30 tabs in Chrome with the amount of memory you have, you should be able to open 120 tabs in Firefox. So memory usage does matter even if you have a lot of it. In fact, most modern desktop applications are more limited by the available memory than processing power.

      --
      Those who would give up liberty to obtain working drivers, deserve neither liberty nor working drivers.
    22. Re:It doesn't matter by Tweenk · · Score: 2, Informative

      I think the Chrome processes share a lot of their virtual space, so their actual memory usage is a lower.

      --
      Those who would give up liberty to obtain working drivers, deserve neither liberty nor working drivers.
    23. Re:It doesn't matter by lagfest · · Score: 1

      I have weird ass-artifacts on Firefox here at home, and I'm using Vista.

      I don't think it's vista, just stop browsing porn.

    24. Re:It doesn't matter by Anonymous Coward · · Score: 0

      If you need to open 120 tabs (or even 30 tabs) something is seriously wrong with your use case.

    25. Re:It doesn't matter by bernywork · · Score: 1

      Might I suggest running something from a USB stick, or finding a way around the restriction? Otherwise a strange venereal disease should get you away from IE.

      --
      Curiosity was framed; ignorance killed the cat. -- Author unknown
    26. Re:It doesn't matter by Anonymous Coward · · Score: 0

      Developer mentality I see all the time, especially with the C#/.Net crowd, "Oh but RAM is cheap, so it doesn't matter..."

      True, but if and *only* if your app is the only one running... in a real world situation it isn't so you *should* play nice and not force everything to use the page file because your app is using several hundred megs of RAM when in reality it should use very little.

      I have seen C++ apps that take around 10MB when running been redeveloped into C# apps that suck ~300MB while offering the same functionality. This seems mainly down the UI toolkits been very heavy from what I can tell.

      End of the day there is either a cost to the developer or a cost to the user, you have to pick where you are going to put yourself along that line...

    27. Re:It doesn't matter by donaldm · · Score: 1

      I have weird-ass artifacts on Firefox here at home, and I'm using Vista. It is very jarring to have the site look better in Opera (and MUCH better in IE) than in Firefox.

      What version of Firefox? You know we are discussing Firefox 3.5. :)

      --
      There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
    28. Re:It doesn't matter by dzfoo · · Score: 4, Informative

      I see weird-ass icons and bars on Slashdot comments in Firefox, on Mac OS X 10.5.7 and Windows XP SP2. I don't get those artifacts in any other well constructed site; only on Slashdot.

      What's more, they occurred right after they fixed the white-on-white-comment-title CSS bug. Although it could certainly be a Firefox rendering issue, it seems to me more of a broken CSS issue from Slashdot web developers.

      Just as that other annoying bug, I can work around it by clicking the "CHANGE" button without making any threading changes. Which offers another suspicious clue: why is the page rendered differently at that point?

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    29. Re:It doesn't matter by Anonymous Coward · · Score: 0

      But how does this work when you have shared objects, like on Linux ? Will it then be mem_usage = users x mem_pr_user ?

    30. Re:It doesn't matter by dzfoo · · Score: 1

      Not only that, but they are weird ass icons!

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    31. Re:It doesn't matter by Trogre · · Score: 1

      Well, Firefox 3.0.10 at least still uses ridiculous amounts of memory. With 160 tabs open (across several windows) it initially takes up a couple of hundred MB. Then leaving it for a couple of days doing *absolutely nothing* it often gobbles up in excess of 2GB.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    32. Re:It doesn't matter by Anonymous Coward · · Score: 1, Insightful

      It used up to 1GB on a system with 4GB of RAM, but was also capable of dropping down to ~100MB at intervals (basically the same as Firefox). It should also be considered that Chrome supports prefetching and other features.

      How do we know this wasn't just a case of Chrome recognizing that the system had plenty of available RAM, and then doing extra preprocessing to take advantage of it? It might be that Chrome is every bit as memory efficient as Firefox, except that it also does a better job of using whatever extra resources are available.

    33. Re:It doesn't matter by dzfoo · · Score: 1

      I disagree. Only memory consumption was measured in this test, not efficiency or actual practical usability.

      The test results doesn't tell you, for example, if Chrome just allocates memory aggressively in contemplation of its usage, and therefor opening more than 30 tabs will not make it consume more or run slower. It also doesn't tell you if, in order to avoid memory pre-allocation and remain "lean", Firefox has to re-generate object graphs on the fly for every few tabs, or constantly hit disk cache, making it run considerably slower when many more tabs are opened (for the sake of avoiding a memory hogging caching system).

      Of course, all of the above is pure fantasy in an effort to illustrate a point. I make no such claims on any of the browsers, though they certainly are plausible. The point is that the single metric of this test, though in a way useful, is not the best way to measure performance.

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    34. Re:It doesn't matter by hab136 · · Score: 1

      Something like "it doesn't show weird ass icons and bars when Slashdot decides to change CSS" is probably much more important. Firefox 3 totally screws up Slashdot in Default mode.

      I had to AdBlock "http://c.fsdn.com/sd/cs_sic_controls_new.png?T_2_5_0_261a" and then it was all better.

    35. Re:It doesn't matter by kripkenstein · · Score: 1

      That is certainly possible. If it is so, I expect Chrome devs will inform us.

    36. Re:It doesn't matter by gilboad · · Score: 1

      Any known work around?
      I'm an inch from installing IE6 under wine just to view SD....

      - Gilboa

    37. Re:It doesn't matter by herve_masson · · Score: 1

      Memory usage comes with a bad side effect: memory fragmentation, which tends to eat a significant share of CPU cycles for no reason other than allocate/reorganize/etc memory blocs. That's a problem.

      Seeing how well FF shows on TFA is just amazing to me. My own experience tells me the contrary: FF performs bad when it comes to memory usage and, more importantly, leaks. At some point, just exiting FF (usualy because it reached the swap area) on my linux box takes about 30s. ff guys think using the exit() syscall is not good enough, hence ff tries to unallocate everything before exiting, which takes forever and tells a lot on how the memory is badly fragmented with tons of leaked small memory blocs.

    38. Re:It doesn't matter by valinor89 · · Score: 1

      Certainly with 4 Gb (actually 3.4 becouse XP 32b) I don't think my problems are with memory (3.0.XX) but with not being able to utilize more than 1 CPU ( with a Q6600 is using 25%) and sometimes it feels sluggish, when using lots of tabs, sound start to stutter, video stops, etc. And it's pretty common to find some poor designed web that uses some script that uses a lot of CPU. On the other hand with using ABP the start time of FF is simply abyssmal and really makes my HDD crazy for like 30s. That is when it soesn't crash ramdomly ( once a week usually ). Does FF 3.5 solve all this problems? If not it would be a shame. Still, I will continue to use it, becouse ABP.

    39. Re:It doesn't matter by Anonymous Coward · · Score: 1, Interesting

      You have to look at it from another perspective. Before AJAX, it was impossible to have threaded discussions on web pages.

    40. Re:It doesn't matter by Domomojo · · Score: 1

      I had weird bars and icons all over the place, until I told NoScript to allow fsdn.net. Now things look OK. The FAQ says it's their image server.

    41. Re:It doesn't matter by vistic · · Score: 1

      Hahahaha.... douche-iest comment I've seen in awhile.

    42. Re:It doesn't matter by guppysap13 · · Score: 2, Interesting

      These comments about Opera bother me slightly...I'm running Ubuntu with 512mb ram (495 after video card grabs some), and Opera Unite doesn't even use half of it (plus, that's when it's been left on with multiple webpages open overnight when I fell asleep at the computer). Do the browsers scale their usage based on the amount of available ram on the system?

    43. Re:It doesn't matter by chdig · · Score: 1

      Yes, yes, you've been trolling through this whole discussion telling everyone to use chrome.

      I use chrome. I love the ui and process management, but the love ends there.

      It's the buggiest browser out there, textarea form fields lose their text regularly when using cursor back or up. So many well-known websites I visit mysteriously lose their css, it's truly not funny. Flash crashes-- on all tabs at once -- constantly, and it's slowwwww. I actually wish it used more memory so that it didn't take several seconds to re-display and load tabs from swap. All the other browsers beat it for speed of changing between tabs, in my experience.

      Chrome is nice, but it has a long way to go to match firefox, or even IE, for stability.

      --
      if a beta's not good enough for a vendor to recommend downloading, then it's not good enough for me either.

    44. Re:It doesn't matter by paulumz · · Score: 1

      Give that man a cookie. I had to login to my extremely dormant account just to respond with a "Thank you."

    45. Re:It doesn't matter by JackSpratts · · Score: 1

      you should see it in chrome. takes forever to load & looks like something from 1995.

    46. Re:It doesn't matter by hattig · · Score: 1

      * without a reload upon posting a comment.

      Sadly the act of posting a comment inline using Ajax should be smooth and seamless, yet it's slower than actually loading a "post a comment" page, and reloading the discussion afterwards. Far far slower. I don't think Slashdot's servers can handle the massive amount of Ajax requests that it

      Never mind how messed up everything is, odd rendering errors, that "comment level" slider that appears in different places (and in which the bars don't fit). The developers clearly don't know CSS, and they don't understand data structures and algorithms hence the poor performance modifying threaded discussions.

      Clicking on "Options" just now has made the fan on my computer turn on, and Firefox hung for about 10 seconds. It's appalling.

    47. Re:It doesn't matter by raynet · · Score: 1

      By default Opera has 'Automatic RAM Cache' enabled, that probably is one reason for the memory usage difference.

      --
      - Raynet --> .
    48. Re:It doesn't matter by Zhila+the+Great+Z · · Score: 1
    49. Re:It doesn't matter by Anonymous Coward · · Score: 0

      Not on mine. (I'm using 3.5's latest release candidate with XP right now, but I don't recall seeing that problem on my Linux machines...Debian, Ubuntu, and my EeePC(the custom Xandros.)

    50. Re:It doesn't matter by Anonymous Coward · · Score: 0

      I've turned off javascript to view slashdot. The front page loads when I hit refresh, and it's quick.

      In opera, right click on the page, "edit site preferences", go to scripting, and disable JS.

    51. Re:It doesn't matter by Blakey+Rat · · Score: 2, Interesting

      I wrote a blog entry just yesterday about Slashdot's completely ignorance of the term "staging server": http://blakeyrat.com/index.php/2009/06/slashfail/

    52. Re:It doesn't matter by Anonymous Coward · · Score: 0

      I completely turn off JavaScript for slashdot site to load and not stutter. What the hell is it doing that's so processor intensive? I'm running a 2.2GHz dual core and it freezes for a whole minute, I scroll a little bit and freeze for another minute.

      And everyone should stop using CSS for layout and just use tables. CSS seems to be only good for formatting text -- it's only good for that.

    53. Re:It doesn't matter by Sigma+7 · · Score: 1

      ff guys think using the exit() syscall is not good enough, hence ff tries to unallocate everything before exiting, which takes forever and tells a lot on how the memory is badly fragmented with tons of leaked small memory blocs.

      A method of memory leak detection is to free everything before returning to the system; any block still allocated are presumed to be from somewhere that would likely cause Firefox to become a black hole.

      Some resources may also need to be handled specially. For example, if Firefox begins to support BitTorrent, it will need to explicitly tell other peers that it is closing up and is no longer a usable client (as opposed to just having a connection fail.)

    54. Re:It doesn't matter by Zancarius · · Score: 1

      You should try it with 320+ tabs. It'll freeze for about three minutes while loading and when it's finished, it'll be consuming at least 500MiB--and that's without Flash-related leaks.

      Admittedly, this only happens when I incessantly keep opening tabs and forgetting to close old ones (I'll read that later, right?).

      As an aside, I'm glad I'm not the only one who has issues with lots of tabs open at a time! Do you periodically spend a half-hour once in a while going through and bookmarking/closing things? I tend to remember only when FF slows to a near crawl...

      --
      He who has no .plan has small finger. ~ Confucius on UNIX
    55. Re:It doesn't matter by BZ · · Score: 1

      Firefox certainly does: both the size of the HTTP memory cache and the size of the back-forward history cache depend on the amount of RAM installed.

    56. Re:It doesn't matter by noidentity · · Score: 1

      I view Slashdot on a positively ancient system. CSS would murder it, so I just add an entry to my hosts file that points c.fsdn.com to 0.0.0.0. Kills the CSS and makes the page load quite quickly. I love the look too; looks like classic HTML without any font changes.

    57. Re:It doesn't matter by BitZtream · · Score: 2, Insightful

      Perhaps someone should consider the fact that the test is inducing non-standard memory usage in these browsers. The test is in no way an indication of standard browsing habits.

      Throwing 1000 urls at a browser as fast as it can load them is very little like loading a page, letting the JS on it run for a few minutes, doing something on the page, waiting a few more minutes and moving on to some other page. In this benchmark is a joke. I've seen a chart for 'memory usage' ... windows has at least 3 different sets you can get back from an API call that I know of off the top of my head, which one are we using? Virtual? Actual? Allocated? Only one of those actually matters as far as performance is concerned. Any developer with a clue can tell you that all of those numbers are likely to be substantially different.

      This 'benchmark' is just silly and practically pointless outside of academia. The guy wrote a crappy little .NET app to run some processes and dump 'Mem usage' column from task manager into Excel without actually knowing anything about the way the OS works or what memory allocation numbers actually mean.

      Take into account that all of these browsers to some extent adjust the way the operate based on how much RAM the system has means that you will never get results anything like this if you throw it at a machine with say ... 1 Gig of ram.

      In short, if you think this 'benchmark' has any real world meaning, you don't really have a clue.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    58. Re:It doesn't matter by cyberpear · · Score: 1

      ^Best post I've seen all day.

      More on topic, Opera keeps closed tabs, with complete back/forward history so you can get them back if you need them (does Firefox do this? I honestly don't know.)

      I'd be more interested in a memory usage comparison after several hundred tabs have been opened, and left open. In my browser, I have many, many tabs open (likely a couple hundred.) -- I like my browser to enable my disorganization if I want to be disorganized. (I go through and close unneeded tabs from time to time, when things start getting too cluttered.)

    59. Re:It doesn't matter by bsdewhurst · · Score: 1

      It is not Firefox specific, I get the weird boxes and icons in Safari on Windows and Mac OS X and yes it did start about the same time as the white on white comment title was fixed. Perhaps it is a coincidence but since the bug was fixed I have had a new set of mod points every three days.

    60. Re:It doesn't matter by Anonymous Coward · · Score: 0

      try running it on a machine with less memory than was stated in the test - i still get decent performance out of opera on a P3 machine with 256 megs of ram. Though to be quite honest, when its running windows, IE 7 is far smoother than the competition, so i sometimes go between opera and IE just because i like the opera UI better.

      If you have a ton of resources not being used, use them - they're wasted otherwise. You can code better too. But theres a tradeoff in which machines with a bajillion gigs of ram dont really care about a few hundred extra megs of ram used.

      A more useful test would have been to :

      - Not write an idiotic C# app to do this
      - Test multiple hardware configurations (low, middle, high over the course of a few gens of hardware)

    61. Re:It doesn't matter by BitZtream · · Score: 1

      Except neither of them will use that on a system with 512MB of memory. They use more ram when more is available when its beneficial in some way.

      People need to remember that these aren't static DOS apps from 20 years ago. These are apps that in one form or another run on mobile devices all the way up to our nice beefy modern desktops. They are aware of the available RAM and will adjust to use more if its available to an extent.

      I use chrome on a WindowsXP machines with 256MB of ram on occasion and I've never noticed it swapping , I'm sure it does to some extent but its not enough for me to notice. Mind you, I'm not doing anything else on that machine at that point, but it certainly does just sit there and chug at the disk for hours on end while I browse around.

      Theres more to memory usage profiling than just running an app and looking at the memory usage column in task manager to figure out what its doing.

      I can write you an app on Windows that can allocate a gig of ram on a machine with 256MB of physical memory and you won't see it swap. Just because one of the memory allocation reports says its using a lot of ram doesn't mean that its ACTUALLY using that much RAM anyway.

      This simple benchmark doesn't really tell you anything useful other than Google Chrome likes to malloc A LOT of space or specifies some rather large internal buffers that probably never get used.

      Another good example of how these numbers are misleading. If you run a Win2k3 machine in under ESX server you can look at the memory usage reports and you'll see things like how much space the OS requested, how much space the hypervisor has reserved or is using for the VM, and how much of the ram is actually being used for something. Those numbers are only close together during the boot sequence for a short time, after that they are each separated considerably most of the time.

      Theres simply more to this sort of metric than this article considers. Its like saying that the force of gravity is 9.8m/s/s. Its not. You get that sort of force at a certain distance from the center of the Earth (which is roughly the average surface altitude.) On the moon the measured force is completely different, and on Mars and you should see how the Sun compares on its 'surface'. You won't find any rocket scientist assuming a constant 9.8m/s/s force when calculating a launch on any planet, including Earth, since it changes in relation to everything around it as its moving away from the planet, possibly closer to a moon or what have you. The picture painted here is a useless metric without taking a whole lot more data into account, which it doesn't.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    62. Re:It doesn't matter by BitZtream · · Score: 1

      Modern OSes have this cool way of dealing with memory called 'virtual memory'. Lets you do neat stuff like simulate memory with 'swap space' on 'disk' and over commit to the amount of RAM you actually have if it doesn't think the app will ever use it or it can come up with it by the time the app does ( I think its the same technology used by the broadband providers today ).

      I realize that swapping is horrible in the environment you describe, but this particular problem was considered and dealt with, even by Microsoft a while ago. Allocated ram that never gets used typically doesn't get swapped either and it certainly doesn't get actually written to disk before its ever been used. Google Chrome is probably just allocating a large internal buffer to use its own memory allocation routines with. A Chromium dev may be able to shed some light here. I doubt its Webkit doing it since Safari didn't respond the same way, perhaps its the Google javascript engine. Either way I don't seem to have a problem with Chrome on a machine with 256M running XP. I don't do anything else on it, but it doesn't sit around constantly swapping and not being able to render a page in less than 19 years like this benchmark would suggest.

      Perhaps the lack of Flash and Java on my XP machine makes the difference, would have thought the spyware would have made up for that though.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    63. Re:It doesn't matter by DaAdder · · Score: 1

      Operas philosophy, which I belive is true for other browser as well, is that by default the browser should use some of the available *free* RAM to speed up browsing.

      This means that when other applications starts gobbling up RAM, Opera will release the RAM it uses and start reducing its footprint.

      This is why I find numbers regarding memory usage to be highly suspicious.

    64. Re:It doesn't matter by Luyseyal · · Score: 1

      I recommend Lite mode. They only break it about once a year.

      -l

      --
      Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
    65. Re:It doesn't matter by gknoy · · Score: 1

      That's a good point. I am not sure -- but I have not noticed a "there's a new version" dialog in a while. So, I expect it's probably not 3.5.

  4. Who uses vanilla FF anyway? by Mishotaki · · Score: 2, Insightful

    We all know that the thing that hogs the most memory in Firefox is all the extensions that people use to immitate other browsers... Who actually uses Firefox without a single extension and brags about how good it is anyway?

    1. Re:Who uses vanilla FF anyway? by siddesu · · Score: 1

      Because I can't use a browser without the vimperator extension anymore :)
      Being able to surf the web without a mouse has been a big relief for my shoulder pain.

    2. Re:Who uses vanilla FF anyway? by sznupi · · Score: 1

      Do you specifically require vim-style controls or simply a browser that has full keyboard-only navigation built in? (as one might understand from the last sentence...)

      Because if the latter...that's not something new or unique.

      --
      One that hath name thou can not otter
    3. Re:Who uses vanilla FF anyway? by Anonymous Coward · · Score: 0

      Actually I don't see other browsers sporting the features I get via NoScript and Adblock Plus. In fact, the main reason I stick with Firefox over other "alternative" browsers is because of Noscript. I won't browse without it!

    4. Re:Who uses vanilla FF anyway? by zullnero · · Score: 2, Insightful

      I've never used an extension that "attempts to imitate other browsers". That's interesting, though. There's a string in the about:config where you can set your browser's id string, why install an extension that "imitates other browsers"?

      I have some alternative download UI elements and forecastfox, a couple other plugins, but only an idiot would install anything and not expect SOME cost.

      I think basically, my question is, how the hell does the GP get modded up past 1? And how is that insightful when it's either a troll or shows an amazing lack of understanding of how Firefox works? I don't get it.

    5. Re:Who uses vanilla FF anyway? by kripkenstein · · Score: 1

      We all know that the thing that hogs the most memory in Firefox is all the extensions that people use to immitate other browsers... Who actually uses Firefox without a single extension and brags about how good it is anyway?

      I use Firefox all the time with no extensions at all. Well, except for Ubufox which was installed for me by Ubuntu. And the Flash plugin.

    6. Re:Who uses vanilla FF anyway? by William+Ager · · Score: 1

      It isn't, but vimperator does seem to be unique in having full keyboard-only navigation that is actually efficient and usable, and that can actually be faster than using a mouse. Most "full keyboard-only navigation" designs seem to be very poorly thought out, and meant for people who *can't* use the mouse, rather than people who want something faster.

    7. Re:Who uses vanilla FF anyway? by cbhacking · · Score: 2, Interesting

      He was probably referring to things like the plugins that make Firefox's tabbed browsing not suck. It's a sad state of affairs when the browser that introduced tabs to the masses (not the first, but the first with more than about 5% market share) now has one of the worst tabbed interfaces by default. No tab groupings, no jumping back-and-forth using Ctrl-Tab (it cycles through the whole list instead), etc.

      --
      There's no place I could be, since I've found Serenity...
    8. Re:Who uses vanilla FF anyway? by techno-vampire · · Score: 1

      If you have trouble using a mouse because of shoulder trouble, do what I do: use a trackball. Most of the time it's resting on my knee, because that's the most comfortable place for me. I too have shoulder trouble (tendinitis) and find using a regular mouse very uncomfortable.

      --
      Good, inexpensive web hosting
    9. Re:Who uses vanilla FF anyway? by Jeeeb · · Score: 1

      Could you specify what significant pieces of functionality are missing from Firefox which are present in Safari/Chrome/IE? Personally I have FlashBlock, NoScript and CacheViewer installed. All of which provide functionality not present in the other major browsers. Perhaps it might have been more accurate to say that the thing that hogs memory in Firefox is all the extensions people use to add functionality not present in any major browser.

    10. Re:Who uses vanilla FF anyway? by Anonymous Coward · · Score: 1, Informative

      Have you tried Ctrl+Shift+Tab? It allows you to tab backwards...

    11. Re:Who uses vanilla FF anyway? by h4rm0ny · · Score: 1

      Because I can't use a browser without the vimperator extension anymore :)

      *goes to look up what Vimperator is*

      Oh. Wow. THANK YOU! Vim compatible, mouseless browsing. That. Is. Great! It might even prise me off Konqueror! (Which has its own mouseless browsing)

      Cheers,
      H.

      --

      Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
    12. Re:Who uses vanilla FF anyway? by infinityxi · · Score: 1

      Slashdot is one of the main reasons I use noscript. I don't know what the hell the devs are doing but on certain machines and portables using javascript the site becomes unbearable. Keep in mind i've written very complicated ajaxy websites (some using GWT producing tons of JS) and it doesn't compare to the BS slashdot seems to do for a simple news web forum. Noscript has been excellent and using other web browsers is contingent on there being a noscript type function. I makes the web a lot more faster in general. Javascript and AJAX are really great technologies but just like Flash it gets abused and way overused where it really doesn't belong.

      --
      Turn based strategy game that runs over XMPP. Phalanx
    13. Re:Who uses vanilla FF anyway? by ZERO1ZERO · · Score: 1

      Indeed, Opera (as usual) has had excellent keyboard navigation and highlt configurable keyboard short cuts including single button shortcuts since long back. Vimperator looks cool though. been meaning to try it out for a while now.

    14. Re:Who uses vanilla FF anyway? by ickoonite · · Score: 1

      Not sure what CacheViewer is, but on Safari, there is ClickToFlash to block Flash, which is wonderful (and, IIRC, very similar to FlashBlock). And one can turn off JavaScript in the preferences, if one is suitably paranoid...

    15. Re:Who uses vanilla FF anyway? by omuls+are+tasty · · Score: 1

      This guy has a set of opera keybindings which resemble vim. Works pretty well too. The only thing missing would be form field editing with vim bindings.

      And the fact that he missed the obvious cool name of "vimoperator" ;)

    16. Re:Who uses vanilla FF anyway? by siddesu · · Score: 1

      Emacs sucks :)

    17. Re:Who uses vanilla FF anyway? by Anonymous Coward · · Score: 0

      This is true. Add to this the fact the only people who care about memory management in their browser are the ones that use plenty of add-ons. Your average Joe Computer-user probably isn't going to pay that much attention to such a fact. Anyone that uses vanilla FF probably doesn't even know what memory is anyway.

    18. Re:Who uses vanilla FF anyway? by Weedhopper · · Score: 1

      GP is obviously referring to plugins that attempt to imitate the features of other browsers.

    19. Re:Who uses vanilla FF anyway? by cbhacking · · Score: 1

      Sure, and Alt-Shift-Tab lets you cycle through programs in the order of least-recently-used to most-recently-used, while Ctrl-Shift-Tab does the same thing with IE8 tabs. Firefox still doesn't offer what I want. The tabs I'm switching between may not be adjacent (and in case you hadn't guessed, I dislike using the mouse to switch or drag tabs), and even if they are, having one key chord for the direction I'm most likely by far to be going (back to previously used tab) makes a lot more sense.

      --
      There's no place I could be, since I've found Serenity...
  5. Pfft. by solios · · Score: 4, Interesting

    I use Firefox and Safari regularly. I use two web browsers because each one does something vastly better than the other. Firefox for porn and online transactions, Safari for basic day-to-day anything that might include bookmark management (long story short, every browser I've used EXCEPT safari still does bookmark management using some variant of the horrific Netscape method - this includes IE, Mozilla, Firefox, etc - whereas Safari is the first browser I've used that does it in a non-bullshit fashion). However, useable as it is for bookmarks, Safari's a dick when it comes to password management and a few other things - most notably, how the browser handles while the system is paging out or otherwise shot in the ass with RAM overuse from other applications.

    Long story short, under ANY kind of system load - we're talking ANYTHING above IDLE - Firefox is more responsive than Safari. When the system is shitting gold plated bricks trying to deal with the demands After Effects or Photoshop or Final Cut Pro is putting on it, Safari is beyond useless... and Firefox is responsive.

    It all boils down to memory usage. Specifically, Swap/pagefile useage. On the Mac, firefox seems to be more responsive under load while safari is LESS responsive under the same conditions - it has ultimately has nothing to do with RAM usage and everything to do with how the respective applications use swap/pagefile.

    Eat as much ram as you like... but until Apple does something about disk I/O, stay the HELL away from swap - or I'll use the application that does. (namely, Firefox.)

    1. Re:Pfft. by Anonymous Coward · · Score: 1, Informative

      I use Firefox and Safari regularly. I use two web browsers because each one does something vastly better than the other. Firefox for porn and online transactions, Safari for basic day-to-day anything that might include bookmark management... When the system is shitting gold plated bricks trying to deal with the demands After Effects or Photoshop or Final Cut Pro is putting on it, Safari is beyond useless... and Firefox is responsive.

      So, you watch porn whilst using Photoshop or Final Cut Pro?

    2. Re:Pfft. by MichaelSmith · · Score: 1

      I use Firefox and Safari regularly. I use two web browsers because each one does something vastly better than the other. Firefox for porn and online transactions, Safari for basic day-to-day anything that might include bookmark management... When the system is shitting gold plated bricks trying to deal with the demands After Effects or Photoshop or Final Cut Pro is putting on it, Safari is beyond useless... and Firefox is responsive.

      So, you watch porn whilst using Photoshop or Final Cut Pro?

      Better than coding for a living I bet.

    3. Re:Pfft. by AnonGCB · · Score: 3, Funny

      Well of course, he needs to add some lens flare to the porn. Not everyone has simple fetishes, some people really have to work for it.

      --
      http://CryoLANparty.com/ A lan I'm staff on!
    4. Re:Pfft. by Anonymous Coward · · Score: 0

      Eat as much ram as you like... but until Apple does something about disk I/O, stay the HELL away from swap - or I'll use the application that does. (namely, Firefox.)

      Hohoho - back to "Virtual Memory 101" for you m'boy.

      Apps request address space. Whether - moment to moment - the actual address space they get given happens to reside in physical RAM or on disk is not something the app gets to decide - let alone decide in advance.
      --
      Anonysaurus Cowardodon

    5. Re:Pfft. by mqduck · · Score: 1

      Firefox for porn and online transactions

      Okay, I'll bite. Why is Firefox better for watching porn?

      --
      Property is theft.
    6. Re:Pfft. by hab136 · · Score: 2, Insightful

      Okay, I'll bite. Why is Firefox better for watching porn?

      Addons, my man, addons.

      AdBlock Plus - block ads, other random stuff if you want (like Slashdot's CSS)
      NoScript - blocks nasty javascript unless you enable it so you don't get owned
      DownThemAll! - download all linked videos/images from a page

    7. Re:Pfft. by Blakey+Rat · · Score: 1

      Especially since Safari's the one with the private browsing mode. I don't get the FF statement at all.

    8. Re:Pfft. by xtracto · · Score: 1

      Re:Pfft. (Score:1, Informative)
      So, you watch porn whilst using Photoshop or Final Cut Pro?

      LOL only on slashdot

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
  6. What is process architecture? by ockegheim · · Score: 1

    ... and is the difference between Firefox, Opera and Safari basically how efficient they are at freeing memory that's no longer used?

    --
    I’m old enough to remember 16K of memory being described as “whopping”
    1. Re:What is process architecture? by Aurisor · · Score: 1

      I'll try to explain this in a way that makes sense to a non-programmer (at the expense of a little correctness).

      Process architecture, very generally, is how programmers deal with the task of getting lots of things to happen at once. It's important to browsers, because you might have a youtube video playing in one tab, and be typing text into a form on another.

      Traditionally, browsers like Firefox share threads between tabs. This saves memory because different tabs can share resources better, but if one tab does something funky and crashes, it'll take other tabs down with it. Chrome isolates its tabs; this is kind of wasteful, because the tabs can't share resources as well, but if one crashes, it doesn't take the whole thing down with it.

      I hope that gives you a general idea of what's going on.

    2. Re:What is process architecture? by Anonymous Coward · · Score: 0

      Chrome uses process per tab, while FF (and perhaps others) uses a single process for all tab. The per-process scheme uses up more memory due to process overhead. On the other hand, killing processes as tabs are closed also truly releases memory assigned to the processes. If the process lives on, as in FF, there are still memory allocation issues even if all chunks are orderly freed - depends on malloc/free implementation.

      And no, memory footprint is just one issue.

    3. Re:What is process architecture? by BadAnalogyGuy · · Score: 5, Informative

      If you are trying to explain the mechanism to a layman, you need to steer clear of terms like "processes" and "threads" as part of the explanation.

      Imagine the memory in your computer is like a housing development. At first, there is a lot of open space. The open space can be partitioned so that houses can be built. Each of those houses represents a process. As long as you have more space, you can build more houses.

      Inside each house, you have rooms. In computer terms, these would be threads. Each room has a specific job - kitchen, bedroom, bathroom. Sometimes you need more rooms, so you have to build them. This may mean that the size of the house needs to grow, and the amount of acreage the house needs must grow with it.

      As long as a house exists, it will continue to occupy the space it is on. In computer terms, the process will hold on to the memory it has already claimed. However, the corollary to this is that when the house is torn down, all the land it occupied is returned to the "free acreage".

      If a room is remodeled, it will not result in a change to the actual house size. Adding more rooms will always take up more land, but removing those rooms doesn't change the occupied land size at all.

      In the same way, a process can grow and grow, but as soon as it completes (you close a tab in the browser), the memory will go back to the operating system so other processes can use it. But if the process does not complete because it uses threads to build those same tabs, then the process will continue to take up that memory.

      Also consider that a house may burn down. If a problem happens in one room, a house-wide emergency may erupt. A fire in the kitchen may engulf the entire house and bring it down.

      In a perfect world, what happens in one house should not affect other surrounding houses. If one house burns down, the other houses around it should be fine. Same with processes. If a thread in one process crashes, it may bring down the whole process. However, since processes are separated from each other, other processes should not be affected.

      Then why use threads at all? Why not use processes all the time, since they are clearly safer. Well, why don't we only have one room in our house? Threads are needed within processes to perform important roles. Also, since they all exist in the same process, they can share information (like using light switches downstairs to control lights in the foyer). So a careful combination of threads and processes are necessary to create any kind of meaningful application. There is no right or wrong answer, but Google seems to think that isolating each browsing experience from another is the right way. Firefox thinks that putting all the rooms in one house and simply growing the house is the right way. Everyone is different.

    4. Re:What is process architecture? by moosesocks · · Score: 1

      I'm pretty sure that Chrome also does a better job of dumping inactive tabs into the swapfile in the event that you end up biting off more than you can chew. I suppose this makes its slightly more wasteful approach to memory management more tolerable.

      That all said, RAM is cheap these days, although the latest cost-cutting trend amongst computer manufacturers seems to be limiting the maximum amount of RAM that any one system can hold. I suppose that 32-bit will continue to play a role for some time, although I'm more than a little peeved that my 3-year-old Mac Mini can't hold more than 2GB, while many new netbooks max out at 1GB.

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    5. Re:What is process architecture? by GreenTech11 · · Score: 1

      Thankyou for the very detailed explanation, although, at the end of the post you started to slip back into techie speech, and away from your house analogy. That post has explained a lot about how this works to me.

      --
      Laughter is the best medicine, except if you have a broken rib.
    6. Re:What is process architecture? by something_wicked_thi · · Score: 1

      Actually, you should learn at least a little about the page cache and such before saying such things. You definitely do end up with sharing, even between processes. More so on Linux than Windows, but Windows still shares memory.

    7. Re:What is process architecture? by pasamio · · Score: 1

      Microsoft seems to think that a 32-bit kernel can address up to 64GB of RAM (http://msdn.microsoft.com/en-us/library/aa366778.aspx), not that they'll actually let you do that on anything that isn't supposed to run a server (http://www.geoffchappell.com/viewer.htm?doc=notes/windows/license/memory.htm). Limiting the amount of memory that a system can hold is something that has been around for a while on the part of a manufacturer, it is just that these days memory is getting cheaper and cheaper to the point that we can regularly hit those limits without costing a small fortune.

      --
      I always wondered where this setting was...
    8. Re:What is process architecture? by johanatan · · Score: 0

      But if the process does not complete because it uses threads to build those same tabs, then the process will continue to take up that memory.

      Not true. Google Chrome is the only one that uses full-blown processes for the tabs; yet the graphs indicated that all programs released memory back to the OS after their tabs were closed.

    9. Re:What is process architecture? by Lennie · · Score: 1

      I'm sorry, but on slashdot you are supposed to use car analogies. Please try again. ;-)

      It's a good explanation though.

      --
      New things are always on the horizon
    10. Re:What is process architecture? by Anonymous Coward · · Score: 0

      firefox doesn't think this. it's more that historically housing lots were smaller and designing systems where you sent messages between houses or had windows from house to house were fairly complicated.

      as housing lots grow and systems for connecting houses became more practical, it became possible for newer housing development designs.

      unfortunately, switching from a single house model to something else requires new engineering plans and new methods. you can't simply knock out a wall and connect the next house, you might hit a structural element and your house will collapse. planning takes time, the developers of firefox are currently investigating borrowing some of chrome's blueprints in order to add similar structures to future firefox houses.

    11. Re:What is process architecture? by Anonymous Coward · · Score: 0

      I dunno, could you rephrase that in the form of a car analogy?

    12. Re:What is process architecture? by Anonymous Coward · · Score: 0

      Cars, man, cars.

    13. Re:What is process architecture? by omuls+are+tasty · · Score: 1

      In the same way, a process can grow and grow, but as soon as it completes (you close a tab in the browser), the memory will go back to the operating system so other processes can use it. But if the process does not complete because it uses threads to build those same tabs, then the process will continue to take up that memory.

      Huh? It will only continue to take up the memory if the thread leaks memory. If the thread manages its local memory properly, then after it finishes, the process will only take up the shared memory + local memory for every active thread. Or, to use your analogy, the house will shrink.

      Now, if you're contending that proper memory management is not entirely trivial, I agree

    14. Re:What is process architecture? by Anonymous Coward · · Score: 0

      Whether a thread's memory is reclaimed by the OS after exiting is a platform-specific detail. It is safer to assume that a process only grows in size as it allocates heap memory than to expect it to return memory to the global heap on memory deallocation.

      In other words, the process memory usage will always be the high-water mark. The actual memory usage may (and typically is) much lower than that. However, depending on the OS, the memory which is already mapped to the process space is untouchable until the process exits.

    15. Re:What is process architecture? by dzfoo · · Score: 1

      Great explanation! I tip my metaphorical hat to you, sir!

      +1 Informative
      +50 Avoiding use of car analogy

                  -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    16. Re:What is process architecture? by dzfoo · · Score: 1

      Technical topics require some level of technical detail, otherwise you'll only speak in limited metaphors which may muddle the understanding of the subject matter, and defeat your purpose. If the technical jargon was completely avoidable and unnecessary, it would not be there to begin with. It represents concepts that may not be communicated in any other way, or at least as a shorthand for more complex or extended expressions.

      Therefore, in my opinion, laymen explanations of technical subjects should not necessarily avoid all jargon, but should include it in context, and explain it in plain terms. Remember, you are talking to a human being, and one intelligent enough to at least have the curiousity and interest to ask the question initially. Assuming that your listener is a complete moron that may never comprehend your topic at your level is not only unwarranted and condesending, it is insulting.

      As such, I think the poster did an excellent job at explaning Process Architecture in general, and at introducing technical terms such as "process" and "thread" in a meaningful and concise way. This will allow the reader to recognize and understand the terms in the future, and not rely on the "housing development" analogy as a crutch.

      The same applies doubly when communicating with children.

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    17. Re:What is process architecture? by Anonymous Coward · · Score: 0

      As long as a house exists, it will continue to occupy the space it is on. In computer terms, the process will hold on to the memory it has already claimed. However, the corollary to this is that when the house is torn down, all the land it occupied is returned to the "free acreage".

      a process CAN give memory back to the system without dying if it wants to

    18. Re:What is process architecture? by Anonymous Coward · · Score: 0

      Oh? How?

    19. Re:What is process architecture? by howlingmadhowie · · Score: 1

      void free(void* ptr); you can find it in stdlib.h

    20. Re:What is process architecture? by Anonymous Coward · · Score: 0

      I invite you to explain how that actually returns any memory to the OS.

      In fact, you'll find that it has no such guarantee.

    21. Re:What is process architecture? by rdebath · · Score: 1

      Free will return memory to the operating system if it can find large chunks.

      In your visual, rooms can be removed and the land released as long as there isn't a pipe left in the ground connecting to still existing rooms.

      Firefox has become a lot better at doing this.

    22. Re:What is process architecture? by Reziac · · Score: 1

      This non-programmer understood every word of it, and came away with a much better feel for what's going on under there. And I agree -- use the jargon as needed, sensibly, and in context -- which allows the listener to LEARN what the jargon means, rather than remaining mystified.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    23. Re:What is process architecture? by fast+turtle · · Score: 1

      Process architecture is what IE does. Each and ever tab is actually a separate running process of IE unlike firefox in which the main instance is shared across all of the tabs. One of the advantages of the shared process feature is a reduced memory footprint but the disadvantage is that a single flaky tab can bring the whole browser down. In the case of IE and Chrome, it's not as likely as each tab is a separate process. Sure a flaky website can crash a tab, but it only crashes that tab.

      --
      Mod me up/Mod me down: I wont frown as I've no crown
    24. Re:What is process architecture? by BitZtream · · Score: 1

      I'll ignore the nick for your analogy ...

      You do realize OSes have a way to free memory for a process right? As long as you are willing to give back a section of your space all in one block between your property line and some point on your property then the development (OS) will gladly take it back and make it available to someone else.

      Occupied land can be returned, as the graph shows by having peaks and valleys rather than a continuous climbing hill.

      Sure you have to call the free function and deal with fragmentation, but you can return land :)

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    25. Re:What is process architecture? by BitZtream · · Score: 1
      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  7. Chrome stats probably erroneous by l00sr · · Score: 5, Informative

    Summing the memory usage of all the Chrome processes is probably not the correct thing to do, as the memory usage indicated most likely includes shared libraries. I can't say this for sure about Vista, but on all sane operating systems, each shared library is loaded only once into memory, and then shared among different running programs.

    1. Re:Chrome stats probably erroneous by Sowbug · · Score: 5, Informative

      The Chromium Blog says:

      If you're measuring memory in a multi-process application like Google Chrome, don't forget to take into account shared memory. If you add the size of each process via the Windows XP task manager, you'll be double counting the shared memory for each process. If there are a large number of processes, double-counting can account for 30-40% extra memory size.

      To make it easy to summarize multi-process memory usage, Google Chrome provides the "about:memory" page which includes a detailed breakdown of Google Chrome's memory usage and also provides basic comparisons to other browsers that are running.

    2. Re:Chrome stats probably erroneous by something_wicked_thi · · Score: 4, Informative

      For 30 tabs, you can actually get a lot more than that. If the base libraries and the shared code for chrome itself are counted 30 times, then that can easily double the amount of memory, or more. I also looked for that in the article and the author states he summed the memory for all processes, which is to say that the stats for Chrome are wrong. This would also apply to IE, had he been successful at collecting any.

      Also, the Firefox memory, and most likely all the others, are wrong, too, because Firefox ends up using up memory that never gets released normally when you use JavaScript applications. Simply opening tabs and summing memory usage is an idiotic way to measure memory usage of a browser.

      In short, you should try to find someone competent to run your memory benchmarks.

    3. Re:Chrome stats probably erroneous by Lennie · · Score: 1

      What would have been really usefull is to have had Firefox 3.0.x in the test as wel, so it would be easy to compare.

      --
      New things are always on the horizon
    4. Re:Chrome stats probably erroneous by wvmarle · · Score: 1

      Well lets summarise this easily: it's virtually impossible to get useful memory use stats on a modern O/S.

      Shared libraries may be shared between processes of the program you are looking at, and other programs. Now how much memory to account for each process? Or any at all if it is used by other programs? But what if those programs are optional as well?

      And then you start talking about javascript and java. How much of that should be attributed to the browser? All? I can't think of any java/javascript that is used out of the browser environment, but still. And then how about other external programs, like video players? Only the plugin part to be counted? Or all of it?

      It is for sure not easy, and saying "someone competent" indicates how much you have thought about it. Which is not much at all.

    5. Re:Chrome stats probably erroneous by something_wicked_thi · · Score: 2, Interesting

      It is for sure not easy, and saying "someone competent" indicates how much you have thought about it. Which is not much at all.

      Try not to betray your ignorance so readily. On Linux, you can get something pretty close by summing all the rw sections of /proc/self/maps and then counting the r sections once. External programs don't matter, obviously, because they're all the same for all browsers, so if you count them or not, it's the same result, just so long as you do things consistently.

      Someone with more Windows knowledge can probably tell you how to do this with Windows. I'm pretty sure you can get the loaded module list with Windows, at least, and maybe even some information about how much memory each is using.

      Again, someone competent would know this. Just because it's hard doesn't mean someone competent can't figure it out. I've done this kind of thing plenty of times, though on Unix OSes, so save your condescension for the peanut gallery.

    6. Re:Chrome stats probably erroneous by eric-x · · Score: 2, Interesting

      Well I had 7 tabs open in chrome (youtube, gmail, gamespot, slashdot, wonderhowto, and a few lightweight sites) I duplicated these to firefox.

      The about:memory in chrome gave me this:

      Browser             Private     Shared     Total     Private     Mapped
      Chromium 2.0.172.31 168,244k    4,472k    172,716k    190,248k    42,868k
      Firefox 3.0.11      151,384k    5,332k    156,716k    142,432k    3,968k

      FF plugins are disabled.

      According to chrome, 'private' is the best indicator.

    7. Re:Chrome stats probably erroneous by The+MAZZTer · · Score: 1

      He could have easily gathered CORRECT memory stats on the browsers, including IE8 (AFAIK) by simply using Chrome's about:memory page.

    8. Re:Chrome stats probably erroneous by BZ · · Score: 1

      > On Linux, you can get something pretty close by summing all the rw sections of
      > /proc/self/maps and then counting the r sections once

      You just double-counted the shared-memory segments chrome uses for IPC, assuming you plan to sum the results over all the chrome processes involved, no? I can assure you they're rw.

    9. Re:Chrome stats probably erroneous by something_wicked_thi · · Score: 1

      Sigh. I said "close". I also double counted a lot more things if it uses fork without exec, or if it mmaps a file with MAP_SHARED with PROT_WRITE. What I gave was a simple way to get something reasonable. If you want something even closer, you need more sophisticated methods than that.

    10. Re:Chrome stats probably erroneous by BZ · · Score: 1

      Sure. I'm just saying that without actually knowing the details of the program's memory layout it's impossible to get the numbers correct here...

      I did miss the "close" in your post, admittedly. My bad.

  8. Yeah, but do they have servers built in? by AmigaHeretic · · Score: 1

    Opera Unite! To help free the Iranian strangle hold on information!! ;-)

  9. Of course not... by The+Master+Control+P · · Score: 4, Insightful

    Then a few years later we end up wondering how come our software now sucks ten times more ram than before despite no corresponding quantum leap in functionality.

  10. Why are we so worried about RAM by Mistlefoot · · Score: 0

    You test all the browsers except the most up-to-date version of the most popular one. In other words, the one that matters the most.

    I'm also not sure why ram is something that is worried about anymore. I don't find it important that firefox only uses 300mb or so of my 4GB. With RAM at an all time low and most modern computers having at least 2GB is just not worth worrying about as much as it has been in the past. Basically, I would rather have faster software that takes advantage of the memory that I use, then slower software that avoids using it. This metric would matter to me. To each their own, I suppose, but I see this as meaningless for most users.

    1. Re:Why are we so worried about RAM by Anonymous Coward · · Score: 1, Insightful

      Desktops are passe. Now people want browsers to run on netbooks, phones and such.

    2. Re:Why are we so worried about RAM by martin-boundary · · Score: 4, Insightful
      This is a false dichotomy. Most software that uses less RAM is actually also faster.

      In the early days, more RAM meant that you could cache some frequently used information in memory instead of recomputing it or loading it on demand. But there's a diminishing return. Nowadays, it's usually faster to recompute than read it all back from RAM, and if an interactive program uses a lot of RAM, then it's likely keeping a lot of junk in memory that it doesn't need. That tells you that the programmers didn't think things through carefully, and they probably didn't optimize other things that matter either.

    3. Re:Why are we so worried about RAM by Mistlefoot · · Score: 1

      Did you read the article? Which phones run Vista? Which netbooks carry 4GB of memory? Per Wikipedia, by default, none - http://en.wikipedia.org/wiki/Comparison_of_netbooks

      To quote:

      "Problem. You are interested in how the Google Chrome 3.0 Dev, Firefox 3.5 RC, Safari 4.0 for Windows, and Opera 10b web browsers manage memory on the Windows Vista operating system over moderate usage"

      The tests were all run on a Windows Vista machine with 4GB of memory. If someone wants to run tests for "netbooks, phones" or "such" then this isn't the machine to test on.

    4. Re:Why are we so worried about RAM by cbrocious · · Score: 1, Informative

      This is a false dichotomy. Most software that uses less RAM is actually also faster.

      Nowadays, it's usually faster to recompute than read it all back from RAM, and if an interactive program uses a lot of RAM, then it's likely keeping a lot of junk in memory that it doesn't need.

      Wow, this is a perfect example of completely misunderstanding memory-CPU tradeoffs. No. For a non-trivial amount of data, it is never cheaper to recompute the data, at access-time. It may be faster overall, as you might be able to use the freed RAM in a better way elsewhere, but it will never speed the accessing task up.

      If you recompute the data constantly, it has to hit RAM and then read it back, unless you're dealing with a dataset small enough to be stored completely in cache, in which case this is a nonissue anyway. More caching is never a bad thing, so long as you set smart defaults for how the caching is done, and you allow the users to configure it. More RAM, in the hands of a smart developer, is a Good Thing (TM).

      --
      Disconnect and self-destruct, one bullet at a time.
    5. Re:Why are we so worried about RAM by Lennie · · Score: 1

      It depends, it depends on the size and boundary we are talking about, if it all fits in level 1 cache or level 2 cache it would definitely be faster in comparison to going back to memory.

      --
      New things are always on the horizon
    6. Re:Why are we so worried about RAM by omz13 · · Score: 1

      Nowadays, it's usually faster to recompute than read it all back from RAM, and if an interactive program uses a lot of RAM, then it's likely keeping a lot of junk in memory that it doesn't need. That tells you that the programmers didn't think things through carefully, and they probably didn't optimize other things that matter either.

      When I was doing real time stuff many years ago (when memory was a limited as hell and the CPU chugged along like a snail), calculations were never recomputed... given the tradeoff between memory use and CPU use (for recalculations) guess which one (it took a few cycles to check if a value was available to fetch opposed to a few hundred to calculate the value).

    7. Re:Why are we so worried about RAM by Rakshasa+Taisab · · Score: 1

      Your categorical denouncement of the previous post shows you do _not_ understand as much as you think.

      The source data can often be _MUCH_ smaller than the resulting cached data, and as such reading the cached data from RAM can be more expensive than reading the source data plus processing it.

      --
      - These characters were randomly selected.
    8. Re:Why are we so worried about RAM by Endymion · · Score: 4, Insightful

      That's simply not true on modern computers. The CPU is often idle - it's starved for data, with the bottleneck being the buss that feeds it (RAM, generally). Add to this the fact that reading neighboring areas of DRAM is a much faster than randomly reading spots in in memory spread across whole megabytes (or gigabytes, even).

      Compare recomputing something, where you never have to leave L1 cache, versus flushing the first few cache levels continuously to do spread-out reads of already-computed data. It's very likely, on a modern CPU, that the first will be faster.

      Of course, this will vary considerably based on what your actual problem is, and you may be getting into bad "must hand-write assembly" cases which should generally be avoided, but... it is still true that computing every time is not only smaller, it's faster some of the time. For evidence of this, check how some people are finding compiling with -Os instead of -O2 actually produces faster code. In any case... trying to stuff a 1GB working set through the Von Neumann bottleneck is never going to produce an efficient and responsive program. Firefox is not exception here, though it's getting better with each release.

      --
      Ce n'est pas une signature automatique.
    9. Re:Why are we so worried about RAM by Anonymous Coward · · Score: 0

      You asked the question "Why are we so worried about RAM". I say it's because the same codebase runs on netbooks and phones. I don't see how reading the article is supposed to change this.

    10. Re:Why are we so worried about RAM by Anonymous Coward · · Score: 0

      This is simply not true for things like web browsing. How are you going to "recompute" a web page the user visited 10 minutes ago? The only way to make going back to that page fast is to cache it. RAM is a fine way of caching things.

    11. Re:Why are we so worried about RAM by julesh · · Score: 1

      I'm also not sure why ram is something that is worried about anymore. I don't find it important that firefox only uses 300mb or so of my 4GB.

      That's nice for you.

      An average user's system at the moment probably has les than 1GB of RAM; 512MB and 1GB (running on WinXP) are the most common configurations right now. 300MB on a 512MB system is intolerable for something that's basically a background process most people leave running all the time. It's barely acceptable on 1GB. I find that kind of usage tolerable on my 1.5GB system, but I often see Firefox with 500MB usage or even more (and I run flashblock, so I doubt it's flash that's responsible).

      Basically, I would rather have faster software that takes advantage of the memory that I use, then slower software that avoids using it.

      On a system high-end enough for 4GB RAM (i.e., you're presumably running on a 64 bit processor, and I would hope are using a 64 bit OS to go with it), I sincerely doubt you spend much (if any) time waiting for your browser to calculate stuff that could be readily accelerated by using extra memory. Chances are the only thing you ever wait for with your browser are slow javascripts and/or flash applications to run. It's irrelevant that the browser's cacheing an uncompressed copy of the images from the last 10 pages you viewed, because it would probably take your system less time to uncompress them from its compressed cache than it would for your monitor to update to show them.

    12. Re:Why are we so worried about RAM by julesh · · Score: 1

      When I was doing real time stuff many years ago (when memory was a limited as hell and the CPU chugged along like a snail), calculations were never recomputed... given the tradeoff between memory use and CPU use (for recalculations) guess which one (it took a few cycles to check if a value was available to fetch opposed to a few hundred to calculate the value).

      Whereas modern desktop CPUs can typically execute somewhere between 2 and 3 instructions per CPU cycle and a single non-cached memory access will likely invoke latencies of around 10 bus cycles, with each bus cycle being somewhere between 6 and 10 CPU cycles -- that few cycles/hundred cycle tradeoff suddenly looks less clear cut.

      If you can rely on the cached value being in CPU cache, then it's almost always a win. Otherwise, count how many instructions you need to calculate it: it may actually be faster to run up to about 300 instructions than going out to system memory to read it. You can calculate a lot of stuff in 300 instructions.

    13. Re:Why are we so worried about RAM by martin-boundary · · Score: 1
      Not just that, but you can *design* your data to take advantage of those facts.

      A common approach is to compress read only data in RAM instead of storing it in the clear. It takes CPU to uncompress on the fly, of course, but the savings in RAM footprint and the fact that uncompressing can be practically free (if the CPU was idling otherwise) makes this approach worth trying.

    14. Re:Why are we so worried about RAM by julesh · · Score: 2, Interesting

      This is simply not true for things like web browsing. How are you going to "recompute" a web page the user visited 10 minutes ago? The only way to make going back to that page fast is to cache it. RAM is a fine way of caching things.

      There are a variety of tradeoffs possible. Do we:

      1 Just store the original HTML/compressed images? This was Netscape's original solution, and works reasonably well.
      2 Store parsed HTML, to prevent a reparse stage being necessary when redisplaying the page?
      3 Store uncompressed images, to prevent decompression being necessary when redisplaying the page?
      4 Store the DOM and layout information, to prevent relayout being necessary when redisplaying the page?
      5 Store an image of the page as it was shown to the user with their browser size/settings as they were when it was last shown?

      Each of these successively takes less cpu time but uses more memory than the previous. Firefox does the latter, and I'm not at all convinced that is the right point in the tradeoff. Redrawing the page image from the DOM should take only a few milliseconds. Recalculating the DOM and layout is more intensive, but still not likely to take long. I'm not sure which of 3 or 4 I think is best, but I suspect it is one of those. Although even 2 is worth considering, as it is a substantial memory saving compared to 3, and probably wouldn't take too long.

    15. Re:Why are we so worried about RAM by martin-boundary · · Score: 1
      Recomputing a web page layout when all the data is already available is not a timeconsuming operation. What likely takes all that RAM in your web browser are copies of images and open PDF documents which are referenced by the open pages.

      But here's the thing, it's not clear cut why those things should be sitting in your web browser's process RAM. You already have a disk cache, and the operating system is probably keeping your frequently used files in unused RAM already (if all your programs leave enough of it for the OS to use).

      If your web browser fills a huge chunk of RAM with cached opened media, then the OS has less ability to optimize what's going on in the computer. Moreover, the actual speed difference from displaying eg an image kept in process RAM vs streaming it from the filesystem might not be that big (if that section of the disk was cached in RAM by the OS).

    16. Re:Why are we so worried about RAM by mqduck · · Score: 1

      Because it's a notable matter. Come on, just because it isn't THE issue, that doesn't mean nobody should do a comparison.

      Why do Slashdotters love to complain about articles so much? :-P

      --
      Property is theft.
    17. Re:Why are we so worried about RAM by Anonymous Coward · · Score: 0

      So, we simply have to wait for a web browser that computes the pages I want to see, instead of downloading them. Problem solved.

    18. Re:Why are we so worried about RAM by Anonymous Coward · · Score: 1, Informative

      That's simply not true on modern computers. The CPU is often idle - it's starved for data, with the bottleneck being the buss that feeds it (RAM, generally). Add to this the fact that reading neighboring areas of DRAM is a much faster than randomly reading spots in in memory spread across whole megabytes (or gigabytes, even).

      For the discussion at hand, this is irrelevant. Browsers aren't recomputing trivial data with their time. Browsers are rendering images and text to image buffers and then displaying them on screen. Rendering graphics via software is always slow, and with things like alpha compositing in modern browsers like Firefox, it's getting even slower.

      Real software developers have taken this into account; we cache glyphs, we cache images, we cache rendered sections, we cache anything we can cache. Which is why viewing a webpage you've viewed before in Firefox is usually a task that resolves faster than you can see, but eats up a bit more RAM.

      Lastly, you're throwing away one other concern, which is supremely important to people today. Whenever the processor is idle, it's using very, very little power. The longer the processor stays in that state, the less power is used and the less power is dissipated. Less power, more battery life, cooler server rooms, etc.

      It's a tradeoff. It will always be a tradeoff. Sometimes it's cheaper to recompute, especially if RAM is the bottleneck, which it isn't anymore; if you're simply unicode lookups or hacking buffers together, fine, throw the RAM away when you're done. Other times, like rendering pages of high quality anti-aliased text, you don't want to be doing that every time through if you can help it, so you render to an A8 buffer and throw it in a LRU.

    19. Re:Why are we so worried about RAM by Rockoon · · Score: 1

      As far as your 'average user' specs..

      For what it is worth, the Steam Hardware Survey is great for getting a feel for what people who run steam-based games have, which in many ways reflects Windows Geekdom..

      As of May, 2009..

      512..999 MB : 7.32%
      1 GB : 17.87%
      2 GB : 36.04%
      3 GB : 26.02%
      4 GB : 8.09%
      5+ GB : 3.34%
      ..with 1.31% sporting less than 512MB

      --
      "His name was James Damore."
    20. Re:Why are we so worried about RAM by Anonymous Coward · · Score: 0

      I don't think the average computer user is a gamer. It's a very biased sample, worth nothing when finding average specs for a browser.

    21. Re:Why are we so worried about RAM by Rockoon · · Score: 1

      Its worth more than guessing.

      --
      "His name was James Damore."
    22. Re:Why are we so worried about RAM by onefriedrice · · Score: 1

      In the early days, more RAM meant that you could cache some frequently used information in memory instead of recomputing it or loading it on demand. But there's a diminishing return. Nowadays, it's usually faster to recompute than read it all back from RAM...

      That's not quite right. There is a trade-off between speed and memory usage in many cases, but nowadays we have what we consider to be slow and"bloated" software not because the software is storing in memory what it should compute each time, but rather because of the large number of abstractions used in some modern software. Each level of abstraction increases overhead (essentially wasted CPU cycles) as well as overall memory use. Thus we see that new features and required resources increase at some above-linear rate.

      --
      This author takes full ownership and responsibility for the unpopular opinions outlined above.
    23. Re:Why are we so worried about RAM by assert(0) · · Score: 1

      Average gamer rigs are far above average desktops.

      --
      (founded 95,000,000 yrs ago, very space opera)
    24. Re:Why are we so worried about RAM by BZ · · Score: 1

      > Compare recomputing something, where you never have to leave L1 cache,

      Only if the data that the result depends on fits in that cache...

      For example, Gecko saw a noticeably performance increase from caching the intrinsic preferred and min width for CSS blocks. Yes, it increased the memory use per block by 8 bytes. But recomputing not only used the CPU a good bit but also depended on the values of dozens of CSS properties for all descendants of the block.. which had to be read from memory.

      Also, caching can sometimes change the algorithmic complexity of a problem (e.g. compare computing Fibonacci numbers via recursion with and without memoization of the results).

      Buy yes, there are some limited cases where recomputing is better than caching; cases when there's a 1-1 dependency between the data you already have and the data you'd like to have are probably in this category.

    25. Re:Why are we so worried about RAM by BZ · · Score: 1

      Currently Gecko does #4 from your list for a bit (to allow fast back in common cases), falling back on #1 once evicted from that cache (which happens after the page is far enough back in your session history or once 30 minutes have passed, whichever happens first). "Far enough back" is typically 3-7 pages back. Oh, and while it does #4 for DOM and style information, decompressed image data is dropped more aggressively than that. In fact, it's commonly dropped while the page the image is in is still loaded, with decompress happening on draw, if the image really needs to be redrawn. So really, your list should probably be a graph with nodes representing various combinations of memory optimizations; the image data optimization is completely orthogonal to what you do with the DOM and layout information.

      > Firefox does the latter,

      Not sure what that would mean for a list with 5 elements, but see above for what Firefox actually does.

      > Redrawing the page image from the DOM should take only a few milliseconds

      If you mean recomputing all the layout information from the DOM and the specified CSS values, then I think you're off by one to two orders of magnitude or so (for typical pages; I'm not talking pathological cases like the HTML5 single-page spec where a full layout pass in any modern browser takes multiple seconds, nor particularly simple pages like the Google front page). Times are in the 50-600ms range for layout of the page on things like top500 pages.

    26. Re:Why are we so worried about RAM by julesh · · Score: 1

      Its worth more than guessing.

      I'm not convinced it is, actually. My statistics above were from support work my company has done for numerous clients, mostly small/medium enterprises. They present a quite different picture to yours, yet I'd wager the market they're a sample of is a substantially larger one than the market your stats are a sample of; yours are, of course, more reliable for the market segment, as I imagine they're virtually a census of keen windows gamers.

    27. Re:Why are we so worried about RAM by Rockoon · · Score: 1

      Well as far as enterprise stuff, the choice of browsers is normally based purely on reliability/compatability, not memory usage.

      As far as the size of the steam survey.. tens of millions.. over a million concurrent users at any given time of day or night (thats the MIN/LOW figure), and steam games don't exactly have high performance spec requirements (some due, vast majoority don't.) You are right that these arent representative of enterprise machines, but then you are really talking about corporate internanets and so forth and not having a wide navigation profile with hundreds of tabs open, which makes TFA useless.

      --
      "His name was James Damore."
  11. should have tweaked chrome by buddyglass · · Score: 1, Informative

    IIRC its possible to instruct Chrome to not use its process-per-tab model via a command line option. Can't remember what it is, but I remember reading it existed. It seems likely that Chrome would have used less memory when running in that mode.

    1. Re:should have tweaked chrome by IceFox · · Score: 1

      That would make no sense though. The point of running chrome is that you use the process-per-tab. You can make firefox now download any images, disable flash css and javascript and then it uses even less memory, but that isn't how [normal] people use the browser.

      --
      Do you changes clothes while making the "chee-chee-cha-cha-choh" transformation sound?
    2. Re:should have tweaked chrome by Anonymous Coward · · Score: 0

      What you're saying doesn't make any sense. You are suggesting that we completely ignore the options available. If a web browser came by default as you described (no images, flass, css, javasript, etc.), would it be fair to allow it to run in its memory-saving state, and thus thrash the competition, merely because that is how it ships be default? I'm sure you'll agree that that would make for an entirely meaningless test, as you are no longer comparing the same things.

      The reason Chrome hogs more memory is because of the nifty new feature. If Firefox (and all the other browsers) implemented the same feature, then it would be a fair test, and you could properly compare the results. But as it is, they don't (except maybe IE8, I think...) so a proper comparison can only be achieved by disabling the additional features.

      If you are comparing the browsers as a whole, then of course you should leave the options where they are, but this test is a measure of the browsers' efficiency when it comes to memory-usage, and so testing them in the manner in which you are suggesting yields meaningless results.

      Which browser has the best memory-usage? Let's compare them!
      Firefox - 100MB
      Chrome using separate processes - 200MB
      It would appear that Firefox is better at handling memory than Chrome. But is it? Maybe, when either the extra features are disabled in Chrome or are implemented in Firefox, you might find different results. As it stands, these results only show that Firefox uses less memory than Chrome, when Chrome is using a different technology. I'm not suggesting that Chrome is better than Firefox, just that the method you describe for comparing them is invalid.

    3. Re:should have tweaked chrome by Anonymous Coward · · Score: 2, Funny

      In fact, you can get Firefox to work the quickest by selecting "File" - "Work Offline." Pretty secure, too.

    4. Re:should have tweaked chrome by buddyglass · · Score: 1

      Chrome is providing a new feature (process per tab) that doesn't exist on Safari and Firefox. If you want to compare the three on equal footing, then disable the feature that doesn't even exist in the other two browsers.

  12. Nice to see, but... by timothyb89 · · Score: 2, Informative

    I'm glad to hear that Firefox has finally improved its memory usage. Although my system has plenty of memory, I still find that the amount of memory FF3 requires causes a very annoying slowdown.

    Of late, I've been using Midori as an alternative. With it's current git version and a recent WebKit build (r44951), I've found it to perform better than any other browser I've used (opera, konqueror, firefox). Although it does have a few minor kinks, it supports pretty much every site I've come across and works considerably better with mozilla plugins (namely, flash) than Konqueror and Opera.

    Currently with an instance I've been using for the last few days, Midori is using 77 MBs of memory (for comparison, my other running browsers: opera- 120 MBs, Konqueror- 91 MBs, Firefox- 119 MBs). I didn't do any even moderately sophisticated benchmarks suck as those in the article, but that beats the average and final amounts of memory of FF3.5 as shown in the article. Obviously this is not Windows-friendly, but I'd say Midori deserves some more attention, considering that (for me, at least) it outperforms all the other major browsers.

  13. how is his memory usage that low? by Trepidity · · Score: 2, Interesting

    Is the Linux version of Firefox particularly horrid or something? When using more than 10 tabs or so, my memory usage is typically in the 600mb+ range. It's currently taking 1.1g resident for about 40 tabs. I'm on x86-64, but even if we assume there's a full doubling of RAM usage due to the architecture, that's still 550mb equivalent, which his test never hits even with 150 tabs.

    1. Re:how is his memory usage that low? by Frosty+Piss · · Score: 2, Funny

      When using more than 10 tabs or so, my memory usage is...

      Yes, I notice when I have a huge number of tabs open with a mixture of Flash and other multi-media running, my browser slows down too. Wonder why that is...

      --
      If you want news from today, you have to come back tomorrow.
    2. Re:how is his memory usage that low? by Colonel+Korn · · Score: 1

      It must be either the Linux FF client or your particular install, which is a pity. On Windows you would see a sub 100 MB footprint with 10 tabs (like I see right now with 10 on Vista64). I'd have expected the Linux version to be more memory efficient than Windows.

      --
      "I zero-index my hamsters" - Willtor (147206)
    3. Re:how is his memory usage that low? by cbhacking · · Score: 2, Informative

      10 is nothing. Running down the Slashdot RSS feed I may well open over 15 tabs, and from each of those I might open another tab or two (yes, I RTFAs). Chrome and IE8 handle this quite well. Opera and Konqueror are OK. Firefox bogs down for a long time, and I don't know about Safari. Hardware is Core 2 Duo, 1.83 GHz and 2GB of RAM, clean Vista x86 install.

      I stopped using Firefox for reading Slashdot specifically because it was so bad at this (didn't help that its RSS interface is pretty bad, too).

      --
      There's no place I could be, since I've found Serenity...
    4. Re:how is his memory usage that low? by Jeeeb · · Score: 1

      Firefox 3.0 (FlashBlock, No-Script, CacheViewer) on OS-X with 10 tabs open - Slashdot, Yahoo, Google, Wikipedia x 7 and real memory usage is at about 128mb. I'd look at what extensions you're running and if any of the sites you have open are using Flash. Personally I think the oft-talked about Firefox memory issues are just a symptom of people with a tonne of extension installed opening hundreds of tabs and acting surprised when it uses a lot of memory. Oh and throw in a generous dosage of Flash-related issues.

    5. Re:how is his memory usage that low? by Runaway1956 · · Score: 1

      I get the impression that you are new to linux. If not, I apologize. But, Linux manages memory completely differently than Windows does. Linux will generally fill memory up, as much as possible, instead of swapping out to disk. Using Ubuntu, my physical memory is almost always at 100% usage, but swap memory is almost always zero.

      I'm not qualified to explain how Linux manages memory - I can't even claim to completely understand it. But feel free to google Linux memory management. It's really interesting. Firefox on Linux has actually reached a full gigabyte of memory usage for me. That's one heck of a lot of windows and tabs open. But, the important thing is, I was NOT using swap memory - it was all physical memory, and FF did not slow down for me.

      At a guess, I would say that you have 4 gig of memory installed. The machine I'm using for 64 bit only has 3 gig. I don't "think" that FF uses quite as much memory for similar tabs on my machine.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    6. Re:how is his memory usage that low? by Anonymous Coward · · Score: 0

      Well I'm running Iceweasel but I don't think that matters: it really depends on the kind of site you're visiting. Right now, with 6 tabs open firefox has a resident size of 86M (191 virtual). When I add one single tab pointing at the Java docs (http://java.sun.com/javase/6/docs/api/), memory usage increases to 150M (257 virtual), meaning that that one tab requires 64MB of memory (non-scientifically speaking).

      In other words: depends on the site. Opening 40 tabs with Java docs woud require over 2GB of memory, while my regular sites (nu.nl, /., daily wtf and work-related sites) would take near 550MB. This is all linear extrapolation of course.

    7. Re:how is his memory usage that low? by ion.simon.c · · Score: 0, Troll

      Heh.

      I have a Panasonic CF-30 with 4Gb of RAM installed that runs Gentoo Linux (2.6.29-tuxonice-r3 at the time of this writing).
      I don't notice any FFox slowdowns until I hit ~300 tabs. At ~500, I get a fair amount delayed input.

    8. Re:how is his memory usage that low? by Quantumstate · · Score: 1

      You didn't mention what version of Firefox you are using. The article was talking about 3.5 and that is an important distinction. I am using 3.5 on Linux and it does make a big difference usually about half the ram of 3.0 plus it releases memory more rapidly when you close tabs. Also the amount of ram on the machine is an important factor since Firefox does adapt its memory usage depending on the ram available. I have 768mb of ram and I have never seen firefox 3 above 45% and that was a very unusual case with some nasty flash game. It was commonly about 20-25% with firefox 3.0 and with 3.5 it usually has 10-15%. As you may have guessed conky only gives me percentages and I can't be bothered to convert.

    9. Re:how is his memory usage that low? by ion.simon.c · · Score: 1

      Strange. My copy of Ffox sits at ~1.25GB virtual for 400->500 tabs.

      I'm running on an x86 machine, FWIW.

    10. Re:how is his memory usage that low? by Anonymous Coward · · Score: 0

      Unfortunately, the leader of the "web browser that makes Flash not suck horribly" project was hit by a bus.

    11. Re:how is his memory usage that low? by Anonymous Coward · · Score: 0

      No the GP is correct: he is talking about resident size (a process-related aspect) and not about total memory usage (controlled by the OS).

      You can view program memory usage using top, or via ps vx (column RSS). This has nothing to do with swappiness or other aspects of Linux memory management.

      BTW: if you want to know how much memory your system is really using, you should use free: the line "-/+ buffers/cache" shows you how much memory is used by the programs running on your system, and how much can immediately be freed by simply dropping all I/O caches. On my system:
      total used free shared buffers cached
      Mem: 775452 763768 11684 0 252 393020
      -/+ buffers/cache: 370496 404956
      Swap: 996020 6096 989924

      You can see I have 768MB of memory installed, of which 400MB is used as IO cache. The programs on my system only use 370MB, or not even half of my system memory.

    12. Re:how is his memory usage that low? by Anonymous Coward · · Score: 0

      Windows doesn't page out unless it's really necessary either, and in fact takes it one step further and fills your memory with random things you _might_ want in the future. Hard page faults are extremely rare unless you run out of memory.

      I think much of this confusion comes from the task manager in XP which uses very confusing terminology.

      When it says page faults, it's talking about _both_ soft (i.e the page wasn't mapped in the process's address space) and hard (had to be retrieved from disk) faults. When it says "page file usage", it actually means commit charge, which is the total amount of both physical and virtual memory you are using. In other words, it is not showing you the amount of data actually residing on disk.

      This seems to have led to the web being full of thousands of pages claiming that Windows is always swapping things to disk.

    13. Re:how is his memory usage that low? by Shados · · Score: 1

      But, Linux manages memory completely differently than Windows does. Linux will generally fill memory up, as much as possible, instead of swapping out to disk.

      Thats what Windows does too, and as someone pointed out already, goes a step further and precache stuff in advance, especially on Vista, and is the behavior responsible for people flipping out about how bloated it is (then they just hide it on Win7 and everyone is in awe at the amazing efficiency machine that is Win7...lol).

    14. Re:how is his memory usage that low? by Runaway1956 · · Score: 1

      I invited people in my last post to read up on memory management. The way the two OS's manage memory are NOT the same. The end result has similarities, or appear to, but the methods are quite different. For one thing, Windows tends to unload DLL's and things (faster if you tweak it to do so, slower if you don't tweak) to make room for system idle processes. Since Linux doesn't HAVE any system idle processes, we don't have to worry about unloading any libraries or anything.

      I could point at the many memory "leaks" found in Windows, which MS has spent a lot of time trying to fix. Maybe that's all fixed in Win7 - but I have my doubts. To my knowledge, no other OS suffers from that problem, including Linux. Some few applications that run on Linux suffer from "leaks", but Linux handles that all differently, so we never end up with a gigabyte of memory dedicated to some process that is totally unproductive and unresponsive. Needless to say, we never see a BSOD or a segfault because of such leaks.

      No, I'm sorry, but memory management on Microsoft systems is NOT like any other operating system, except superficially.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    15. Re:how is his memory usage that low? by Anonymous Coward · · Score: 0

      I invited people in my last post to read up on memory management.

      Yeah, you have admitted to not really knowing anything about memory management at all, so I'm not sure why people should take what you say very seriously.

      The way the two OS's manage memory are NOT the same. The end result has similarities, or appear to, but the methods are quite different. For one thing, Windows tends to unload DLL's and things (faster if you tweak it to do so, slower if you don't tweak) to make room for system idle processes. Since Linux doesn't HAVE any system idle processes, we don't have to worry about unloading any libraries or anything.

      This is just pseudotechnical nonsense.

      Windows does not "tend to unload DLLs and things to make room for idle processes." It unloads things once the reference count reaches zero to conserve memory, not CPU cycles. This was important back when Windows NT was designed two decades ago and RAM was not something you had a lot of. Today Windows will actually keep most things cached in RAM, even after it's "unloaded" (and before it's loaded). It's not complex, and the delay you're thinking of is likely the one for COM servers, which is there to avoid race conditions in multithreaded programs.

      I'm really not sure how this has _anything at all_ to do with how Windows is different from Linux when it comes to memory management, it's just random crap you pulled out of your ass because you don't really know what you're talking about.

      I could point at the many memory "leaks" found in Windows, which MS has spent a lot of time trying to fix. Maybe that's all fixed in Win7 - but I have my doubts. To my knowledge, no other OS suffers from that problem, including Linux. Some few applications that run on Linux suffer from "leaks", but Linux handles that all differently, so we never end up with a gigabyte of memory dedicated to some process that is totally unproductive and unresponsive. Needless to say, we never see a BSOD or a segfault because of such leaks.

      More crap you made up. Windows is not full of memory leaks, and the only time you're going to see a bluescreen is if you have a defective driver. True, there are a lot of such drivers for Windows, and a lot of them leak memory and other resources, but this has nothing to do with Windows.

    16. Re:how is his memory usage that low? by Shados · · Score: 1

      I could point at the many memory "leaks" found in Windows, which MS has spent a lot of time trying to fix. Maybe that's all fixed in Win7 - but I have my doubts. To my knowledge, no other OS suffers from that problem, including Linux. Some few applications that run on Linux suffer from "leaks", but Linux handles that all differently, so we never end up with a gigabyte of memory dedicated to some process that is totally unproductive and unresponsive

      Look at the AC post that explained the issue with what you said better than I will... on my side, I'll just point out that this isn't pre-2000 anymore. You can have Windows running (and actively doing stuff) for hundreds of hours (or more) without ever seeing anything quirky anymore. And aside for the odd case of bad hardware, or in the few occasions I risked beta drivers, I havent seen a blue screen in a little under a decade.

    17. Re:how is his memory usage that low? by Runaway1956 · · Score: 1

      "for hundreds of hours (or more) without ever seeing anything quirky anymore."

      I am truly fucking impressed. *nix boxes can run for YEARS. Hundreds of hours indeed. Has anyone ever explained "orders of magnitude" to you? Square != double, cubed != triple. I hope you get the idea.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    18. Re:how is his memory usage that low? by Shados · · Score: 1

      Yeah, and I don't think you know the meaning of "more", eh? And if you have a fucking server doing exactly the same thing over and over and over, if it can run for a week without any hiccup, it can run for a year. Especially when talking about memory: if memory usage didnt spike in a month, it won't in 12-24 months either.

      Even in Windows-land, the bottleneck now is hardware reliability. Which was my point.

    19. Re:how is his memory usage that low? by Runaway1956 · · Score: 1

      You still fail to make your point. My DESKTOP runs for months at a time. Not some server, with a static set of applications that it serves, certainly not a file server, not a database. My desktop does it. I install and uninstall applications. I run virtual machines. I browse the web. I play music. Watch movies. I do not do any serious audio or video work, but, almost anything else you can think of, I do it. My desktop with dozens of alpha and beta applications installed is more stable than Windows.

      And, here you are saying "Yeah, Windows is as good as Linux!"

      Kinda humorous.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    20. Re:how is his memory usage that low? by rodrigovr · · Score: 1

      x86_64 doesnÂt use 2x x86 RAM. Not even the program code. Linux will use nearly 100% RAM all the time. ItÂs because of the caching model.

    21. Re:how is his memory usage that low? by Shados · · Score: 1

      The only time I ever need to reboot a windows desktop is for kernel patches. While it IS significantly easier to apply kernel patches in Linux without rebooting, its still a pain and I don't know many Linux users who'll do that without rebooting, either.

      Again, this isn't 1998 anymore. Windows, OSX, Linux...neither crash, neither need reboots, like, ever (aside for the above exception, which I'll admit is a weakness of Windows, since you'll patch on average exactly once a month). In either case, only faulty drivers (which isn't uncommon on Linux either...) and bad hardware will bring either down.

    22. Re:how is his memory usage that low? by Anonymous Coward · · Score: 0

      I'm at 25 tabs open with 3.0.10 on 64 bit gentoo and I'm at 430mb.

  14. Moving targets by mcrbids · · Score: 5, Insightful

    There's no answer that's always right. If memory usage was paramount, we'd all have browsers that used 1 MB of RAM and took 10 minutes to render a page, with another 2 minutes to scroll down a page.

    But RAM is cheap and developers have to make compromises based on the real-world that they have to compete in. I can get a gig of RAM for about the cost of a burger lunch with my wife.

    Do I really care about memory usage? Only to the extent that it's 'good enough' on my slowest computer - a dual-core Mac Mini with 512MB.

    FF3 is plenty good enough for me to thoroughly enjoy an episode of 'Burn Notice' on Hulu just now on that very computer.

    Sorry you are having probs with memory usage on your (ancient?) computer. Perhaps you should consider forgoing a burger lunch this week?

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
    1. Re:Moving targets by fuzzix · · Score: 5, Funny

      FF3 is plenty good enough for me to thoroughly enjoy an episode of 'Burn Notice' on Hulu just now on that very computer.

      Wow! FF3 must be a fantastic piece of software if it can make Burn Notice watchable.

    2. Re:Moving targets by lostmongoose · · Score: 1

      Oh snap!

    3. Re:Moving targets by julesh · · Score: 0

      Wow! FF3 must be a fantastic piece of software if it can make Burn Notice watchable.

      I find playing _any_ version of Final Fantasy while something plays in the background makes it at least tolerable.

    4. Re:Moving targets by Bert64 · · Score: 2, Insightful

      Memory for modern machines may well be very cheap, but memory for older systems is not because it's no longer mass produced, and many older machines have very low limits on the amount of memory they can accept. For example, i have a dell latitude c610 laptop which is perfectly fast enough for general use, but doesn't support more than 512mb of ram.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    5. Re:Moving targets by Anonymous Coward · · Score: 0

      Don't talk shit about Michael Westen! He has already been burned, he doesn't need your insults.

    6. Re:Moving targets by walt-sjc · · Score: 4, Insightful

      Yes - because in the future, mobile devices will need 16G or RAM just to check email, news, weather, and maps. Your ancient POS 3G iPhone is just totally obsolete because it has so little RAM.

      But seriously, memory usage IS important - because the browser isn't the only thing I run on my machine, yet seems to suck WAY more memory than most other apps.

      Software developers have gotten lazy in not managing memory - they are usually running pretty high-end machines, ignoring the fact that people run OTHER applications too. In the modern economy, people are using older machines longer - and they SHOULD - e-Waste has gotten out of hand, and frankly a 4 year old 2.6G P4 with 512M-1G IS a reasonable machine to use for most business and home (non-gaming) applications. I should not need to upgrade to a quad-core 8G machine just so I can run email, a browser, AND and office app at the same time, when we USED to be able to do that with a 256M machine just fine.

      And yes, as another poster already mentioned, not all older machines can be upgraded (especially notebooks), and memory for older machines is a LOT more expensive than a burger lunch. Try more like a meal at a nice restaurant for 4, with a few drinks. By the way - in this modern economy with unemployment continuing to grow, that is a luxury many people can no longer afford.

    7. Re:Moving targets by Anonymous Coward · · Score: 0

      Wow! FF3 must be a fantastic piece of software if it can make Burn Notice watchable.

      Burn Notice == A-Team of the 2000's.

      Bruce Campbell kicks ash.

    8. Re:Moving targets by hack++slash · · Score: 4, Funny

      *in the voice of Michael Westen*

      Baiting Slashdotters is much like shooting fish in a barrel, the trick is to find the right ammunition, from then on it's childs play.

      --
      To do something right, you often have to roll up your sleeves and get busy.
    9. Re:Moving targets by RiotingPacifist · · Score: 1

      TBF i recently used a 256MB machine and i could run email(kmail) & a browser(FF3) just fine, unfortunately i had little need for office app use so stuck with OO which made stuff painful, but I'm sure if id looked around something like abiword+gnumeric would have been usable. When ram is available programs SHOULD use it Firefox (~180M) and ktorrent(~120M) are using more than 256M on my machine atm, however I know for a fact that i ran them on my old machine and had no problems.

      And yes, as another poster already mentioned, not all older machines can be upgraded (especially notebooks), and memory for older machines is a LOT more expensive than a burger lunch.

      How old? I upgraded the ram on my an old acer-travelmate (the machine with 256MB ram (or 128 i never remember)) with DDR2 off ebuyer (Where 512mb is currently £2, which isn't even enough for a nice burger)while 2GB@£15.78, perhaps if you want to buy a single stick of 4GB ram you'll have to fork out enough for a meal (£146.96).
      even older DDR(1gb@£30) or SDR(512M@£45) is closer to a burger, than a meal for 4 (unless you take you consider burger king a restaurant!)

      --
      IranAir Flight 655 never forget!
    10. Re:Moving targets by Tekzel · · Score: 1

      Whoa, whoa now. You leave Michael Weston out of this. That is a freaking great show!

    11. Re:Moving targets by Tekzel · · Score: 1

      That was awesome, I so heard his voice in my head as I read that too.

    12. Re:Moving targets by AmiMoJo · · Score: 2, Interesting

      Memory usage is important, but absolute numbers are not. Scalability is the key.

      If a browser can run fine on a phone with very limited memory and processor speed, but then scale up nicely to my desktop machine which has 6GB RAM than to me that seems like the best option.

      BTW, my desktop machine really does have 6GB RAM, and my laptop 2GB. 2GB of DDR2 RAM is less than £20 now, so I'd rather have a browser that can make good use of it and speed up navigation and rendering than have one which leaves 80% of the machines resources unused. I spend at least 50% of my time at the computer in my browser, probably more. Of course it needs to back off when I want to run other apps too, but the OS should be able to work with the app to make that happen.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    13. Re:Moving targets by darkpixel2k · · Score: 1

      Sorry you are having probs with memory usage on your (ancient?) computer. Perhaps you should consider forgoing a burger lunch this week?

      Yeah--except my ancient computer is a Compaq Presario 2100 laptop that was given to me a few years back. It can hold a maximum of 1 GB--and that's what I have in it. So skipping $7 as McDonalds isn't going to get me a new laptop or desktop that has more than 1 GB in it.

      Of course my tests are better than these stupid graphs. I have 3 Firefox profiles open right now, each one with no less than 2 windows and 20 tabs. My system is so damn slow it's unusable. Between the 3 FF processes, I'm using over 90% of my system's memory, and over 96% of the CPU.

      Damn I need a faster machine with something like 16 GB RAM in it...

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    14. Re:Moving targets by cesutherland · · Score: 1

      But seriously, memory usage IS important - because the browser isn't the only thing I run on my machine, yet seems to suck WAY more memory than most other apps.

      Most of my other apps are run on my browser.

    15. Re:Moving targets by BitZtream · · Score: 2, Insightful

      Posts like these always amuse me. Yes several years ago we used machines with a lot less ram, they also did a lot less.

      You can call it bloat and whine and moan and bitch but your Desktop PC with a modern browser is far different than your 5 year old PC running a browser from 5 years ago.

      Just because you aren't observant enough to notice this doesn't mean that software today is the same as it was 5 years ago. I'll ignore the OS for the moment as I'm going to assume you use XP, if you're still using a Unix desktop enviroment from 5 years ago you have bigger issues than anything I or anyone else slashdot can help with.

      So lets see you can use:
      Firefox 1.0.x (2.0 wasn't released until 2006, and 1.5.x is slightly less than 5 years old)
      IE 6 ( 7.0 also came out in 2006 )
      Konqueror 3.0/Safari 1.0
      Opera 7.5

      Looks like all of those browser and software will run just fine on your P4 and half a gig of ram with XP.

      So basically what your bitching about is that you can run new software with new features and more resource requirements because you want to use software designed for todays computers on computers that were made years ago. While you're at it why don't you go ahead and make your car run on the same stuff they put into Model T Fords.

      If you can take your 4 family members to a nice restuarent and have drinks, you could probably also stay home and buy a netbook with more ram and processing power than your more than 5 year old example POS. You're argument is weak at best, and from a practical perspective you're just completely out of touch with reality.

      Whats worse is that its really not bad using some of the modern browsers on the machines you describe, including chrome. The benchmark used is not really any useful indication of real world browsing on a daily basis. Throwing as many pages at the browser as fast as you can for benchmarking leaves no time for background cleanup threads for example, so you can look at Chrome as a memory hog, or you can realize that as soon as it had a chance to get around to doing its cleanup, it dropped its memory usage drastically, and since no person is going to throw URLs at it as fast as the bench mark, it kind of makes this benchmark even more retarded.

      Let me finish off with a simple thought about this benchmark. The guy didn't even bother to learn the command line switch to make IE open in an existing Window, why on Earth would you consider his benchmarks anything more than anecdotal evidence until someone actually puts some real ones up?

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    16. Re:Moving targets by FrankieBaby1986 · · Score: 1

      disclaimer: I agree with the RAM usage idea, ram is relatively cheap now.

      But.. Where the hell do you get your RAM / BURGERS?

      2 McDoubles, fries and a drink cost about $5. Where the hell do you get a gig of ram that cheap? 512MB or ram is about 10 bucks on newegg.

      ;)

      --
      ERROR: SIG NOT FOUND (A)bort, (R)etry, (F)ail?:
    17. Re:Moving targets by walt-sjc · · Score: 1

      ... And it should do so with ram caching. But if internally it is designed as a memory pig, it will be a memory pig everywhere it is compiled. Applications designed and coded with care and an eye to efficiency are MORE likely to be faster anyway. Someone concerned about resources will also most likely be concerned about performance. Someone who is ONLY concerned about performance or features probably won't give a damn that the app uses 10 times more RAM that it really needs to.

    18. Re:Moving targets by walt-sjc · · Score: 1

      Posts like these amuse me. People think that just a few years ago we only used our computers for simple word documents. Here is a clue - we used them in nearly the same way we do now. Where were you?

      What has changed is that browsers can display dynamic content a little better than before which has opened up SOME new possibilities - but the basics of javascript and how computers are used in business in general have NOT CHANGED in 10 years. This means that some applications that used to be standalone are now web-based. While this has some advantages in terms of centralized management, generally web interfaces are not NEARLY as good as a custom designed app, and generally slower as everything you do is a partial or full page refresh. Case in point: Google shared docs. I won't dispute that the shared aspect is nice - I've been on a number of conference calls with shared editing and viewing of docs. BUT - google spreadsheet is NOT a replacement for Excel. Slow, and missing tons of features.

      What I am talking about (not bitching, which is an offensive term to me - please attempt to be somewhat professional) is that developers no longer care about memory efficiency in most cases because they are all using high end machines.

      You also ignored my points about the e-waste and economic reasons people shouldn't and are not buying new hardware - why? Hmmmmmm.

      Finally, did I say current apps are unusable on said machines? No. I said (in essence) that it was important to keep memory usage under control BECAUSE people are still using said machines. In fact, without having any statistics (since they aren't available) I would bet that the VAST majority (70%+) of the machines currently in use in the world have 1G of ram or less. I can infer this because sales of new systems are in the toilet. Businesses are not replacing their older equipment on the same schedule as they used to. I also see this in the clients I visit (which are rather diverse.) It's rare that a business user needs more than 1G. More is nicer because things are a little more snappy, but the actual need isn't there (so business users are not upgrading RAM either.)

    19. Re:Moving targets by Anonymous Coward · · Score: 0

      Software developers have gotten lazy in not managing memory - they are usually running pretty high-end machines, ignoring the fact that people run OTHER applications too.

      Stop lumping developers into one group. We're a diverse lot and I don't appreciate the sweeping generalizations.

    20. Re:Moving targets by 427_ci_505 · · Score: 1

      It turns out OP is really, really fat. ;)

    21. Re:Moving targets by AmiMoJo · · Score: 1

      That simply isn't true.

      There is no reason not to use every available byte of memory. It may as well be used for disk cache if nothing else. Sure, if an app needs memory for something more important, memory can be reallocated to it, but otherwise there is no harm in using it for data which can be discarded at any time.

      All modern OSs take that approach, and web browsers benefit from it. It could still go a lot further though, if there was a cross platform method of allocating RAM marked as cache, since the browser knows what data is more worthwhile keeping in RAM and the OS can only see file accesses.

      I actually wrote a program which did something like that for disk cache on AmigaOS. It would allocate a sector's worth of data and copy the data from disk to it as well as handing it to the program that did the read, calculate a checksum and then deallocate the memory. Because on AmigaOS you can allocate memory by absolute address, next time that sector was read it would try to reallocate the same chunk of memory and checksum the data in it. If the memory had been reallocated or overwritten, it loaded the data from disk again.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    22. Re:Moving targets by Anonymous Coward · · Score: 0

      Im not having a go at you personally, more the slashdot crowd in general.

      This seems to be a recuring theme, when its a pet program that slashdotters love like FF, adding extra ram isnt an issue, i mean hey, an application that requires me to add more ram is fine, its so cheap. However when microsoft tells me i need to add more ram for an OS, THATS OUTRAGEOUS!

    23. Re:Moving targets by AmigaMMC · · Score: 1

      I agree that memory is cheap and you can even get it at McDonald's blah blah blha... fact remains that some people use laptops (gasp!) that do not allow for memory upgrade (mine for example is maxed out at 2GB, which is not a lot, you'll admit if you're running a browser that needs 1GB plus other tasks).

    24. Re:Moving targets by Timothy+Chu · · Score: 1

      The difference to me is that new versions of browsers are generally advertised as a recommended update. Most users see "an update is now available", and click "OK". One of my XP machines recently showed an unwelcome IE8 as an update. And with each update, the computer gets slightly slower. Most people would expect it to be the same product. But it's not.

    25. Re:Moving targets by Anonymous Coward · · Score: 0

      Great idea. Just test it on a Mac and the rest of us will be happy. With machines running OSX, Ubuntu, XP and Vista, I'm happiest when my browser opens instantly and the type is sharp rather than smeared. Which currently means FF 3.5 rc2 on Vista is the most responsive of the eight browsers I use for testing across the three platforms. FYI it takes time to eat up memory.

    26. Re:Moving targets by bodan · · Score: 1

      I'm kind of curious about something, though too lazy to test it myself by opening out my machines.

      Did you (anytime recently) try the exact same thing (3â"4 dozen tabs open) on the same machine with, say, Netscape Navigator or Firefox 1.0?

      Are there significant differences?

      --
      "I think I am a fallen star. I should wish on myself."
    27. Re:Moving targets by darkpixel2k · · Score: 1

      I'm kind of curious about something, though too lazy to test it myself by opening out my machines.

      Did you (anytime recently) try the exact same thing (3â"4 dozen tabs open) on the same machine with, say, Netscape Navigator or Firefox 1.0?

      Are there significant differences?

      Nope--just FF. I'm hoping Chrome for Linux will get here--because when one FF tab is extremely slow, they are all slow. ...and you can't figure out easily which tab is causing everything to slow down. Based on my Chrome for Windows experiences, it should be much easier to manage a large number of tabs in Linux.

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    28. Re:Moving targets by pdbaby · · Score: 1

      I should not need to upgrade to a quad-core 8G machine just so I can run email, a browser, AND and office app at the same time, when we USED to be able to do that with a 256M machine just fine.

      You ran old applications back then. Your browser probably didn't comply fully with the various specs, support the latest css, the pages didn't have as much heavyweight javascript running in them, it probably wasn't also playing an h.264 video through flash.... new applications do a lot more things and they do them in more depth. You need reasonably modern hardware to take full advantage of them.

      --
      Global symbol "$deity" requires explicit package name at line 2. - If only $scripture started "use strict;"
    29. Re:Moving targets by inmytaxi · · Score: 1

      not everybody can afford to buy a new computer every two years, or is tech savvy enough to know how to upgrade cheaply. hell, there are those who have hand me downs of hand me downs, schools, kids, public places like coffee shops, even libraries depending on the city. to them this info is important, but i doubt the mass media ever broadcasts the information.

    30. Re:Moving targets by TheDarkMaster · · Score: 1

      +5 insightful is not enought to you...

      Totally correct, the actual developers almost always forget they application is only one from many applications running on the PC.

      --
      Religion: The greatest weapon of mass destruction of all time
    31. Re:Moving targets by Jake+Griffin · · Score: 1

      In fact, without having any statistics (since they aren't available) I would bet that the VAST majority (70%+) of the machines currently in use in the world have 1G of ram or less.

      You would bet? How much? The fact is, nearly 80% have 1G or more.

      --
      SIG FAULT: Post index out of bounds.
    32. Re:Moving targets by Anonymous Coward · · Score: 0

      WHOOOOOSSSSSHHHHH!!!!!

    33. Re:Moving targets by Anonymous Coward · · Score: 0

      Or perhaps and I pound the gavel on this, developers should stop their sloppy programming style and go back to learn how to efficiently use memory instead of taking for granted that it will always be there, all the memory for their unique greatest (not so fantastic) application.

      "640kb outta be enough..."

    34. Re:Moving targets by MrResistor · · Score: 1

      Nice set of graphics that tell us absolutely nothing. Where does this data come from? Sales of new hardware? A survey? If it was a survey, was it on some website, or was it a properly conducted survey of a representative sample of PC owners? How was the sample selected? What is the confidence interval?

      Your "facts" are no more reliable than the GP's opinion.

      Based on my own experience, I have to agree with the GP: the vast majority of machines currently IN USE probably do have 1GB or less. If all you're claiming is that the vast majority of systems currently being sold have more than 1GB, than I absolutely agree, but that is not even close to being the same thing.

      --
      Under capitalism man exploits man. Under communism it's the other way around.
  15. I thot somebody died by Tablizer · · Score: 1

    "In memory of Chrome" was how I first skimmed it

  16. Why not testing IE 8? by VincenzoRomano · · Score: 5, Insightful

    The author says he didn't included IE 8 because there was no way to start it without opening a new window for every invocation!
    I would have preferred to have it included despite this "big drawback" and have this thing explained in a note.
    A partially meaningful test (upper limit?) is always better than no test at all!
    I fear that this omission is to "protect" bad performances even in comparison of a browser by a company which seems to be in deep competition with Microsoft.

    --
    Maybe Computers will never be as intelligent as Humans.
    For sure they won't ever become so stupid. [VR-1988]
    1. Re:Why not testing IE 8? by Anubis+IV · · Score: 3, Informative

      It would be an unfair test. If you opened each page in a new window with IE8, I believe that would launch separate processes for each. Since the other browsers are having each site loaded in a tab, and two of those browsers (Opera and Safari) do not create new processes for each tab, IE8 would be unfairly penalized. It would also be unfair to compare it against Chrome, since Chrome handles its own process creation and destruction from within the browser, whereas if you opened many sites in different IE8 windows, it would be Vista handling the creation and destruction of the processes.

      The number of caveats and asterisks would essentially make the entire test meaningless as a measure.

    2. Re:Why not testing IE 8? by complete+loony · · Score: 1

      How much of the recorded memory usage of Chrome is actually shared between processes?

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    3. Re:Why not testing IE 8? by Anonymous Coward · · Score: 0

      So what? IE cannot be tested?

    4. Re:Why not testing IE 8? by cbhacking · · Score: 1

      He already made it worthless. He summed the working set of all the Chrome processes, ignoring shared portions (which is rather stupid, as the browser itself will tell you how big those are). This vastly overestimates Chrome's memory usage.

      As for the IE thing, use the Start command (which invokes the file associations/URI handler for its parameter). For example, the command "start http://google.com/" will open the Google page in a new tab (assuming IE is the handler for http: URIs and you have IE configured to open pages from other processes in new tabs). This is easy to automate. (For the curious, start is the Windows builtin command invoked by the Run dialog, or whenever you double-click a file).

      --
      There's no place I could be, since I've found Serenity...
    5. Re:Why not testing IE 8? by jez9999 · · Score: 1

      I'm not sure each window of IE8 is a separate process. We've recently discovered a bug at work where it seemed that different IE8 windows were sharing ASP.net sessions. This would seem to suggest that they share cookies, and so presumably aren't separate processes.

    6. Re:Why not testing IE 8? by Anonymous Coward · · Score: 0

      Or the author could have spent 30 seconds to google "internet explorer automation tabs" and would have seen that the first link describes exactly what he wants.

    7. Re:Why not testing IE 8? by Your.Master · · Score: 1

      You have the right answer for the wrong reasons :).

      IE8 has a process per tab (including windows as tabs) up to some number of tabs based on a heuristic that in turn is based on the available memory on the system, and then it has a process growth heuristic up to another heuristically system-memory dependent maximum.

      Source: several places, but https://blogs.msdn.com/askie/archive/2009/03/09/opening-a-new-tab-may-launch-a-new-process-with-internet-explorer-8-0.aspx should suffice.

      However, even when you don't do this, session cookies are shared across processes, because otherwise doing things like opening a new tab would be broken. Chrome does the same thing, and I'm sure Firefox's project to change their tab model will eventually include this too. You have to explicitly open a new session, or use a command-line option, to make IE not share session cookies across processes.

      Source: http://blogs.msdn.com/ie/archive/2009/05/06/session-cookies-sessionstorage-and-ie8.aspx

    8. Re:Why not testing IE 8? by jez9999 · · Score: 1

      Thank you, very informative answer. :-)

  17. Tabs hell by Anenome · · Score: 3, Insightful

    I live in tabs hell. I have... uncountable numbers of tabs open right now--over 9,000, probabaly. My Firefox memory usage can easily push 1400mb. When that happens I kill it and reload, and the memory resets at around 400-600mb.

    Seeing this graph, I can only imagine what Chrome would do to me.

    --
    "I Don't Have Enough Faith to be an Atheist"
    1. Re:Tabs hell by Anonymous Coward · · Score: 1, Informative

      No amount of good programming can help when dealing with such moronic user behavior. 900 tabs would be stupid, 9000 is a whole other plane of stupidity

    2. Re:Tabs hell by Anenome · · Score: 3, Insightful

      Well, I like opening links, but I just can't bring myself to actually read some of them :P Usually I hang on the right end of the tabs, and try to close/read more than I can open in a day. But, for the past few days I got stuck in the middle somewhere, somehow, opening and closing tabs, surrounded by an ocean of sites. Rather than surfing, I was lost at sea.

      And, when I see a tab/site that I know I should read but can't bring myself to, I can't possibly close it. Thus, they accumulate. I can't remember the last time my tab bar was empty :P Except when FF would crash and lose all of them. But that hasn't happened in a long time, thankfully, I hate that! I do try to read some, but it's likely a few weeks worth of reading material by now :P

      --
      "I Don't Have Enough Faith to be an Atheist"
    3. Re:Tabs hell by Anonymous Coward · · Score: 0

      But... but... what about bookmarks??? Just click the little star, then look through recently bookmarked instead of your ridiculous tab bar...

    4. Re:Tabs hell by calix0815 · · Score: 1

      Know what you mean. I began using 'Read It Later' to outsource those tabs. It's like temporary bookmarks. Can also cache those pages for offline reading, hence it can be quite equivalent to open tabs.

    5. Re:Tabs hell by Gulthek · · Score: 1

      Instapaper. Seriously.

      ++ if you have an iPhone or iPod Touch.

    6. Re:Tabs hell by The+MAZZTer · · Score: 2, Interesting

      IMO Chrome would likely be more lightweight and faster. We've established the benchmark author doesn't know what he's talking about.

    7. Re:Tabs hell by maxume · · Score: 2, Funny

      You should just declare bankruptcy and start over. Especially if the number is still growing, rather than shrinking some of the time.

      --
      Nerd rage is the funniest rage.
    8. Re:Tabs hell by Taxman415a · · Score: 2, Informative

      Dear god man, just hit bookmark all tabs, create a bookmark for each of them (in a couple clicks total) and give up. Then you'll still have a record for them if you want them, you'll be able to search them in fact, and then you'll be able to go back to starting with a few tabs or what you actually read.

    9. Re:Tabs hell by hattig · · Score: 1

      I use "Read It Later" for this behaviour.

      I couldn't imagine having so many tabs open. I struggle with more than twenty, I like to keep things tight and under control.

    10. Re:Tabs hell by Anonymous Coward · · Score: 0

      Wow. I'm bad, but not as bad as you are. I suggest saving all tabs as bookmarks in a folder coded by date. Now, you'll have all the links you'll never read, and won't feel bad about having closed them.

    11. Re:Tabs hell by Anonymous Coward · · Score: 0

      In other words: You're a moron.

    12. Re:Tabs hell by Blakey+Rat · · Score: 1

      Have you heard of the concept of "bookmarks?" Seriously, man, you need to get a grip-- just do a "bookmark all tabs", put them in a folder named "read later" and you're golden.

    13. Re:Tabs hell by Anonymous Coward · · Score: 0

      wtf? you cannot be serious.

    14. Re:Tabs hell by Anonymous Coward · · Score: 0

      That's what bookmarks are for. Then delete the bookmark after reading, if you don't think you'll want to read it again.

    15. Re:Tabs hell by VxMorpheusxV · · Score: 1

      Chrome would probably be a better choice for you, then, because you wouldn't be leaking memory all over the place and individual tabs exploding wouldn't affect others.

    16. Re:Tabs hell by Anonymous Coward · · Score: 0

      While it may seem stupid, I function the same way (though usually less than 50 tabs total). Even still, Firefox destroys my Kubuntu laptop with 2GB. Memory usage isn't bad now, but it's still 621M resident.
      Also, Firefox consistently hovers around 30-50% CPU. Some of this may be the flash/ads on the open tabs... though I do have Adblock Plus installed.
      Eventually, all the memory gets eaten by browsing (since it doesn't seem to effectively release the memory, either). Usually I restart Firefox before it starts eating into swap, but sometimes I leave it open too long and it eats all my swap, too - rendering my computer completely useless (and requiring a hard reboot).
      This is default settings on Firefox 3.0.11, Kubuntu 8.04 (KDE 3.5.10).

      What's it going to take to get Firefox to release memory during browsing? I've been promised this in every major release from Firefox 1.5 on.

    17. Re:Tabs hell by Anonymous Coward · · Score: 0

      Ever heard of this wonderful invention. Its called BOOKMARKS!!!!

    18. Re:Tabs hell by xtracto · · Score: 1

      I would recommend you the Treestyle tabs addon for firefox. (see a screenshot)

      The plugin moves your tabs to the left (similar position as the history panel, but without replacing the panel, that way you can open other left-panels like scrapbook, history, etc in addition).

      Doing this achieves three things:
      1. You get more vertical space which usually is limited in today's "wide screen" computer craze.
      2. Your tabs get "ordered" in a hierarchy (I like CTRL+clicking on the slashdot stories I want to comment/lose time, they get opened as sub-nodes of the main slashdot page)
      3. You can have more tabs opened and see the more of the title (about 30 on a 1024 veritcal res.)

      I have found this extension quite useful. The only drawback is that you must get used to move the mouse to the *left* when looking for your tabs, I got used to that after about 1 week of usage.

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
  18. Firefox 3.0 vs Firefox 3.5, night and day diff. by moon3 · · Score: 1, Informative

    To all who bash Firefox, make sure you are using newest 3.5 and not some previous version.

    It seams to me that lots of people haven't even recognized a small difference in number, but it is a big milestone for Firefox internally.

    1. Re:Firefox 3.0 vs Firefox 3.5, night and day diff. by Anonymous Coward · · Score: 0

      Leave Firefox 3.5 running for two weeks constantly, while doing all of your normal browsing in it. If after that time you can come back here and say it's not using a shitload of memory, then I might consider taking a look at it.

      I am the kind of person who never closes the browser because I am always having to look up information and check mail. Currently my browser (Opera 9.64) has an uptime of over 42 days and is still working just fine. In my experience, Firefox is horrible for this.

    2. Re:Firefox 3.0 vs Firefox 3.5, night and day diff. by Trogre · · Score: 1

      Do you mean the latest 3.5 BETA? If we're talking official releases, then 3.0.11 is the latest Firefox.

      The latest I tried (3.5b4 I believe) had utterly abysmal performance on 4 year old hardware.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    3. Re:Firefox 3.0 vs Firefox 3.5, night and day diff. by moon3 · · Score: 1

      TFA uses 3.5

    4. Re:Firefox 3.0 vs Firefox 3.5, night and day diff. by Anonymous Coward · · Score: 0

      Minefield has been pretty bad lately, I'm not sure how it lines up with the the firefox releases, but if it's any indication, stay away! I run version: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090621 Minefield/3.6a1pre (.NET CLR 3.5.30729)

  19. What 9000? by Anonymous Coward · · Score: 0

    Hey Vageta, YHBT.

  20. Invalid bechmark by Anonymous Coward · · Score: 5, Informative

    I am sure that this is true for all of the browsers, but in Opera's case...

    The machine has 4GB in question and Opera is set to "automatic" for the memory cache (default). According to this article, this instructs Opera to use up to ~10% of the system memory. This is quite tunable based on the environment, so one could easily optimize for a low-end machine and have satasfactory performance. The browser using the memory effectively is the more interesting test, which this benchmark fails to determine. An interesting detail in the graphs is how sharp the memory reclaim cycles are, where the smoother indicates better memory management. The graphs indicate that Opera does a good job in this regard.

    1. Re:Invalid bechmark by Racemaniac · · Score: 1

      as if that is the only problem with the benchmark. they're also using a plain firefox. while with every discussion about firefox every fan hammers on how important the dozens of plugins they got are, and how they could never survive without them.
      add the reputation of firefox handling those plugins, and lets see where it ends up with some of the most popular plugins loaded.

    2. Re:Invalid bechmark by Anonymous Coward · · Score: 0

      I regularly use Opera on Linux with a fixed amount of memory allocated to the cache, but it still has problems with what looks to be a memory leak (quite noticeable on an old machine with just a quarter gig of ram), and I do find I have to close it down and restart every few days. I'm guessing it is a javascript related issue, it seems to be worse when I'm using a lot of Web 2.0 sort of sites. Having said that, I like Opera as a browser and mail client too much to stop using it.

  21. et al by Anonymous Coward · · Score: 0

    I wish people would learn the difference between "et al" and "etc".

    1. Re:et al by Anonymous Coward · · Score: 0

      Agreed.

    2. Re:et al by Vectronic · · Score: 1

      I could have sworn that "et al" was "and others", whereas "etc" (et cetera) was "and the rest", it's only fairly recently that "etc" became generic and stood for both more, or the rest. And that "et al" was more of the same, but "etc" is more, but not necessarily the same...

      Bob, Joe, Lisa... et al.
      Ferrari, Mazda, Honda... et al.

      Dogs, Butterflies, Plants... etc.
      Plates, Bowls, Forks... etc

      Considering this isn't all the browsers only some (most) of the main ones, "et al" is more correct than "etc", otherwise there would be at least 100 more browsers in this benchmark.

      But, I could be wrong.

    3. Re:et al by dzfoo · · Score: 1

      Neither would be correct in this case, as they are only including a very small sub-set of the browsers out there and not offering enough context in the title. "Et al" (and others) and "et cetera" (and the rest) both imply the an entire set; the former for proper names, while the latter is for generic lists. The intention is to shorten the list, not create ambiguity.

      It would have been more accurate to include the full list, or shorten it with "among others". If the full list of browsers was already understood by context, then using "et al" would have suffice. However, the title does not give enough context for this and therefore implies all browsers. It is the same as saying "Chrome, Firefox and the rest." The rest of what? of all browsers?

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
  22. You are correct by Anonymous Coward · · Score: 0

    You are correct, summing is not the right thing to do, because the Chrome processes all share a lot of memory. I'm running a Chrome derivate at the moment, SRWare Iron, which uses generally a few tens of MB. So long as you don't use Flash it doesn't tend to reach the 100 MB mark and it runs blazingly fast on my computer (10 years old) where Firefox slows to the point of being unusable and IE8 is probably not even an option. Also, according to Process Explorer, if you consider its working set, Iron is a lot more memory friendly than other browsers, which probably explains why it isn't swapping even though I only have about 400 MB RAM total. But don't take your information from inane mathematically challenged internet articles, or this post for that matter. Why not simply try the browsers yourself and see which one works best for you?

  23. IE8 hardly matters for people who choose a browser by iYk6 · · Score: 2, Interesting

    You test all the browsers except the most up-to-date version of the most popular one. In other words, the one that matters the most.

    Benchmarks are for people who choose software. Only a small minority choose IE. In a way, IE8 was included. It failed to compete due to lack of necessary features.

  24. Low Firefox Memory Usage by hackel · · Score: 3, Informative

    Wow, I *wish* I could get Firefox 3.5 to use so little memory! As I write this Firefox is using 1821M VIRT, 944M RES...and I only have 23 tabs open! Firefox memory usage has always been abysmal for me. Does Firefox perform drastically differently on Linux than on Windows? I would be quite horrified if it actually performed better on Windows, but I don't understand how it possibly managed to be so low...I've never seen Firefox use less than .5G with even a few tabs open for a while... I realize my personal experience involves extensions, plugins and other things which suck of RAM, it still seems terribly high for me. If I leave it running for several days, it will peak 2G and I have to restart the browser.

    1. Re:Low Firefox Memory Usage by EMN13 · · Score: 2, Informative

      In real life usage, I've almost never seen FF (3.1 - 3.5) exceed 500MB of usage. I've got 21 tabs open now, playing 4 videos simultaneously on sites using silverlight, flash, and windows media player (different plugins just to make sure), and a few popups open, and the private working set is 245 MB (Virtual size is well and truly not relevant to OS memory consumption), private +unshared but shareable is 269, +shared mem is 285MB. In short, it's using 270MB of ram.

      That's pretty typical in my eyes.

      Just for the heck, if I open a few more windows for about 100 tabs total, I see 340MB private+unshared.

    2. Re:Low Firefox Memory Usage by Anonymous Coward · · Score: 0

      Does Firefox perform drastically differently on Linux than on Windows?

      Linux is not NT, why is anybody surprised it handles memory differently?

      Just for comparison, linux 2.5.29, XFCE4, firefox 3.0.11 with 23 open tabs and I'm compiling a WebKit nightly in xfce terminal...

      Mem: 1026276k total, 563256k used, 463020k free, 24304k buffers
      Swap: 979956k total, 0k used, 979956k free, 192920k cached

      Saying you have 23 tabs open and have memory issues isn't terribly helpful. Some of the problems attributed to web browsers are down to bloated web sites. Not everyone uses tabs and even fewer sites appear to be designed with tabbed browsing in mind. Don't forget that a compressed 200k jpeg is cached in browser memory as a 4MB bitmap (example numbers courtesy of my ass) for the last 10 closed documents. That 200k of compressed javascript expands to 600k before it gets converted to the browsers internal representation (bytecode etc), then there's all the memory allocations required to run the script.

      If you want to help fix the issues you're seeing, I suggest identifying a single tab that's using too much memory and then finding out why that is the case.

    3. Re:Low Firefox Memory Usage by FooBarWidget · · Score: 1

      How do you measure private+unshared but sharable? Which OS are you on?

    4. Re:Low Firefox Memory Usage by gbarules2999 · · Score: 1

      Could it be Flash, perhaps? Or the way Linux manages memory?

    5. Re:Low Firefox Memory Usage by guyniraxn · · Score: 1

      On my XP machines, FF is pretty good with memory. A couple sites I rarely use will cause runaways but, like I said, that's rare. On my linux installation, I've tried the most recent stable FF and SwiftFox 3.5b4; they both have frequent memory runaways that force me to kill the process or crashing. I think it's the flash plugin because I see it when I'm looking at a variety of flash video sites. I'm using CrunchBang and that uses the Ubuntu repos so I've tried both versions of the Flash plugin (free and nonfree), no difference. It's gotten to the point where I've started searching for a full-featured Linux-compatible web browser that isn't FF just to see if there's a difference.

    6. Re:Low Firefox Memory Usage by BZ · · Score: 1

      > I would be quite horrified if it actually performed better on Windows

      I wouldn't: if you're using plug-ins their memory usage counts as part of the browser's memory usage in a test like this (until the plug-ins start running in separate processes), and Flash on Linux leaks a lot more than Flash on Windows last I measured. I've found that browsing with the Flash plug-in disabled significantly cuts down on CPU and memory usage on Mac too.

  25. Firefox: 3.0.11 by iYk6 · · Score: 4, Informative

    It's great that in the future Firefox might be better, but here and now, the latest stable version is 3.0.11, and while Firefox has many redeeming qualities, speed, memory usage and general performance is not one of them.

    1. Re:Firefox: 3.0.11 by Anonymous Coward · · Score: 0

      You can get the 3.5 release candidate from here.

    2. Re:Firefox: 3.0.11 by Sardak · · Score: 1

      I'm using 3.0.11 right now with 9 tabs open across 2 windows and Firefox is sitting happily at 170 MB of memory and 0% cpu usage. I've also never had a problem with it being slow or unresponsive, even when I've had 30-50 tabs open, including Flash/JavaScript pages, etc. I can't imagine how some people are managing to get the usage to 1 GB+ and such that I've seen in other posts.

    3. Re:Firefox: 3.0.11 by Anonymous Coward · · Score: 0

      i really like 3.5 since i started using it
      FF3 sucks a bit in comparison, and in comparison to safari/chrome/opera, speed wise only ofc

  26. Opera by Xyde · · Score: 2, Insightful

    Interesting to see that Opera is not the memory sipping, lightweight browser that it's proponents make it out to be.

    1. Re:Opera by spike1 · · Score: 3, Insightful

      You can't really offer opera 10 as a fair comparison until the final version is released.
      The pre releases probably contain a lot of debugging information (which naturally bumps up the size quite a bit)

    2. Re:Opera by Quantumstate · · Score: 1

      None of the others were stable releases other than Safari.

    3. Re:Opera by Rockoon · · Score: 1

      ..thats in addition to opera using memory for something useful (caching.)

      My current Opera 9.64 working set is 53,200KB right now posting here on slashdot, and 161,644KB virtual.

      Thats right... 53,200KB.

      --
      "His name was James Damore."
    4. Re:Opera by A+Friendly+Troll · · Score: 4, Interesting

      Interesting to see that Opera is not the memory sipping, lightweight browser that it's proponents make it out to be.

      Opera has advanced memory caching. When you close a tab, it remains cached in RAM. If you decide to undo the operation and reopen it, nothing is usually reloaded from the disk cache or the network (Opera even keeps the tab history cached, so you can go back and forward with lightning speed on a reopened tab). Other browsers don't do anything like that, so when a tab is reopened, they reload the content (to put it differently, when a tab is closed in Fx/Safari/Chrome, it's gone from RAM, as can be seen from the sharp drops in the graph from TFA).

      This just isn't a valid test because Opera works differently from everything else, which is why I love it; advanced caching is one of those things that make all other browsers "unusable" for an Opera user.

    5. Re:Opera by Anonymous Coward · · Score: 0

      Others have answered this already but I'll reply to you personally. Opera scales its memory usage to the machine it is running on. I currently have it on a machine with 512 MB or RAM and it only sips a little less than 40 MB of RAM (38,412 KB and not moving as I type this) with four tabs open and reloading one of the tabs every 15 minutes since over a week now.

      One other person posted this link, which explains one way Opera adapts itself: http://avencius.nl/content/firefox-3-vs-opera-95-memory-usage-take-2

    6. Re:Opera by Glonk · · Score: 1

      That's not true at all. Firefox, since 2.0, has had memory caching just like Opera does. Go to about:config and tweak how much is used (which is default-set based on your system capacity, just like Opera). It's called "browser.cache.memory.capacity".

    7. Re:Opera by A+Friendly+Troll · · Score: 2, Informative

      http://kb.mozillazine.org/Browser.cache.memory.capacity

      "When images are loaded, they can be cached so they don't need to be decoded or uncompressed to be redisplayed. This preference controls the maximum amount of memory to use for caching decoded images and chrome (application user interface elements)."

      It defaults to 32 MB on an 8 GB system. Opera will use 0.8 GB in that scenario... And will cache tab history, HTML, CSS and JS as well, not just images. Again, not comparable. Firefox just doesn't do what Opera does, even if you give it the same amount of RAM for the cache.

    8. Re:Opera by Abcd1234 · · Score: 1

      Opera has advanced memory caching. When you close a tab, it remains cached in RAM.

      And yet, when Firefox does this (and it does), people bitch that it's bloated.

      Funny, that.

    9. Re:Opera by CrimsonScythe · · Score: 1

      I'm using the Unite Beta of Opera 10 with 133 tabs open, spread over 6 windows, and it's using 403MB of memory. I can't really say that's horribly bad... I usually run Opera for a few weeks before cleaning up and removing tabs. I'm not sure how Firefox would handle such a use.

      --
      The view was horrible and the smell was even worse; Julie severely regretted becoming a proctologist.
    10. Re:Opera by A+Friendly+Troll · · Score: 1

      Indeed. We're past the days of having half a gig of memory, and browsers are more or less the central point of our computer usage.

    11. Re:Opera by hkmwbz · · Score: 1

      Opera runs comfortable even on low-memory mobile phones with the same engine (and I'm talking about the full browser, not Opera Mini). Firefox does not. You were saying again?

      --
      Clever signature text goes here.
  27. funny you should mention this today by Anonymous Coward · · Score: 0

    I just added another 4G of RAM to my new Fedora 11 x86_64 workstation because the 4G that I started with wasn't enough to keep it from bogging to a slow crawl today (after running mostly Firefox for less than a week).

    And I haven't even installed the 64-bit Flash plugin yet!

  28. copy on write pages? by Anonymous Coward · · Score: 0

    this test is meaningless in assessing chrome. totaling all memory for each individual chrome process does not indicate how much memory they use in aggregate. much of the program code and data is shared between processes and thus over counted.

  29. 64-bit Firefox on Windows by nemesisrocks · · Score: 1

    If you're running a 64-bit version of Windows (Vista x64, etc), then give serious thought to running a 64-bit build of Firefox.

    I've found this build to not only be noticably faster, but also infinitely more stable and less of a memory hog.

    In terms of numbers, I've had only one crash in the last 8 months, and at the moment, it's using 159MB with 15 tabs open. I've never seen the official 32-bit build perform like that...

  30. CPU usage comparison please. by DTemp · · Score: 3, Insightful

    I would like to see the CPU usage of different browsers tested. I run Firefox 3.5b and Safari 4 on OS X 10.5, and with JUST ONE TAB open with gmail loaded, firefox uses 8% of the CPU sustained with bursts for some reason to 40%, and safari uses 1%.

    With my usual workload, with like 40 tabs open among 5 or 6 windows, Firefox uses 40%, safari 4%. This is ridiculous! This means a lot when you're on a portable on battery, not to mention general system responsiveness.

    I would like to see the CPU usage of browsers compared.

    1. Re:CPU usage comparison please. by MLS100 · · Score: 1

      I think the bursts are due to Firefox's sqlite writes every 15 seconds even when the browser is idle. Who thought this was a good idea?

    2. Re:CPU usage comparison please. by Anonymous Coward · · Score: 0

      That might actually be Google's fault. They don't supply the same code to all clients, so it could be a bug in their firefox javascript. Alternatively, it's a problem with the javascript engine in the beta version you're using.

      FWIW, for me running the current Firefox 3 with Gmail open plus a number of other tabs it sits mostly at 0% cpu, with bursts to about 25-30% when it checks for email. This is on an old P4 laptop.

  31. Tabs settings by mdsharpe · · Score: 1

    IE 8 was not included "because the author could not find a way to prevent it from opening a new window on each invocation of the command."

    Did the author try Tools -> Internet Options -> Tabs -> Settings and change the option from the default "Always open pop-ups in a new window"?

  32. how much of that 1.1G was COW by the OS? by Anonymous Coward · · Score: 0

    on linux you can have many different processes that each think that they own memory, but in reality the OS uses the same ram for all of them

    in the case of chrome where it is forking from the same core process repeatedly, this will have a _very_ significant effect on the real memory requirements.

    however, it's impossible to tell this from userspace, you have to ask the kernel for information to track this down

  33. Config by szundi · · Score: 2, Interesting

    I would really like to see this benchmark repeated with half and double of RAM available.

    1. Re:Config by leuk_he · · Score: 1

      well, memory and memroy is no the same...

      I bet that chrome uses some kind of shared memory achitecture, where you cannot simply add up memory of different processes.

      but you are right, performance vs memory use is more useful.

  34. Terminal Server / Citrix / etc. Thin Client by Anonymous Coward · · Score: 2, Interesting

    In these environments, memory allocation is an extremely important capacity planning criterion for application deployment.

    \\ would love a Firefox addon or web proxy for remote desktop environments that dynamically rewrites the header of flash movies to allow globally reducing the playback frame rate to something arbitrary (like 2fps), as it would much more user-friendly than blocking flash altogether. I would site-license 1000 copies of that sucka tomorrow...

  35. Show me the Memory Chart on OS X when SL arrives by tyrione · · Score: 1

    I'd love to see the memory management for Chrome, FF3.5, Safari 4 and Opera 10 when Snow Leopard arrives. Then I'd love to see how they compare to Windows 7 and see where work needs to be improved on both platforms.

  36. Re:IE8 hardly matters for people who choose a brow by Lennie · · Score: 1

    By the end of the month, the most populair version is actually Firefox 3.0.x (IF Mozilla doesn't release 3.5), IE7 has a smaller market share, so does IE6 or IE8. It would actually have been really interresting to be able to compare 3.5 and 3.0 in the same test.

    --
    New things are always on the horizon
  37. Offtopic, what the hell is up with Slashdot's CSS? by elFarto+the+2nd · · Score: 3, Informative

    What the hell is up with Slashdot's CSS? I keep seeing images all over the comments (the bars used on the new comments section, the relationship icons). Is anyone else seeing them. I'm using Firefox 3.5.

    Regards
    elFarto

  38. Caching problems by Runaway1956 · · Score: 1

    http://blog.codefront.net/2008/09/10/optimize-firefoxs-memory-usage-by-tweaking-session-preferences/

    Check that link out guys - I did the caching tweaks, and it sped things up some, so I went back and used all the tweaks.

    Let's remember that FF3.5 is still a beta. We should probably send feedback if we aren't happy.

    --
    "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
  39. 9000 tabs Re:Tabs hell by Anonymous Coward · · Score: 0

    Downloading the Internet?

  40. Not included IE8 because of the inconvenient truth by Computershack · · Score: 0, Troll

    IE 8 was not included "because the author could not find a way to prevent it from opening a new window on each invocation of the command."

    Really? So the "Open links from other programs in" and then choosing either a new tab in the same window or the same tab doesn't exist then? Oh that's right, it does - right under Tools, Internet Options, Tabs.
    So either the author is fucking useless or he's lying as he knows the result shows IE winning.

    --
    I only please one person per day. Today is not your day. Tomorrow isn't looking good either. - Scott Adams
  41. Re:IE8 hardly matters for people who choose a brow by Computershack · · Score: 1

    In a way, IE8 was included. It failed to compete due to lack of necessary features.

    I'm sorry but like the author, you're talking out your fucking arse. The bit you need you'll find in Tools, Internet Options, Tabs where near the bottom you're given the option of how to open links from other programs.

    --
    I only please one person per day. Today is not your day. Tomorrow isn't looking good either. - Scott Adams
  42. Much worse than that Re:Low Firefox Memory Usage by Anonymous Coward · · Score: 0

    Actually it does perform better on Windows, and looks better, and is better able to use the system and system settings without obscure magic (this is a Ubuntu/Xubuntu rather than Linux issue I believe), and is better able to load pictures (once again it might be a Ubuntu/Xubuntu issue but this one is more likely to be a general Linux issue).

    Yes the combined Firefox & Xubuntu problems I've been having the last year is slowly driving me back to Windows. I thought w2k would be my last MS OS but I'm beginning to wonder about getting Windows 7 if I buy a new machine... even though I'm a F/OSS advocate, supporter, and donor.

    I'm simply getting fed up with the amount of time spent on Google to figure weird stuff out (which of course includes filtering out the 99% of inapplicable suggestions that solve other obscure issues).
    And after every goddamn new release too, can't they just leave working stuff alone?

    Note to all the Ubuntu variations: only copying the OpenBSD release cycle without copying other parts of the OpenBSD approach to the system (no, not talking about security) leaves your users stranded up Shit Creek.

  43. I use both FF3.0.x and Opera 10 at work by paziek · · Score: 1

    Opera usually doesn't go over 300 megs over days, but Firefox often goes to 1 giga in a matter of 2-3 days. Even if I close all tabs, it still hogs to this 1 giga. So I have to restert it, since I've got 2 gigs only.
    Weird thing is that I use Firefox only for its firebug and debugging of intranet software (I'm developer), while Opera is for the rest - I've got very weak intel graphic card, so Firefox doesn't work very well.
    But Opera isn't perfect either, when Firefox gets to it 1 gigs memory, Opera usually gets to its CPU eating process... not really sure why, but it just keeps my 2 cores at 100% until I restart it. I think it was the same for Opera 9.

    I haven't tested FF3.5 for it yet, but if its fixed, then I'm gonna be happier :)

    1. Re:I use both FF3.0.x and Opera 10 at work by Anonymous Coward · · Score: 0

      Opera usually gets to its CPU eating process... not really sure why, but it just keeps my 2 cores at 100% until I restart it.

      If you are under linux; Opera has problems with the Flash plugin that makes use of a lot of CPU

  44. 300 tabs by improfane · · Score: 1

    I used to run 100s of tabs at a time (up to 300 at one point) on a 1gb RAM machine. This is proof of how bad my browsing habits are but also shows that the only browser capable of this right now is Opera.

    Try it in Firefox and your PC will definitely grind to a halt. If you need extensions, use Firefox.

    Efficient, Extensible, Correct
    Pick two
    Firefox - Extensible & Correct
    Opera - Correct, Efficient

    There is not the development community in Opera, despite supporting widgets.

    --
    Slashdot needs Geekcode | Can anyone recommend any good SCIFI? My tastes: Foundation, Startide Rising, CITY, Ringworld,
  45. Opera memory recall by Anonymous Coward · · Score: 0

    The author forgot that Opera has a "closed windows" buffer that keeps some info to do the reopening of closed sites faster, what inevitably consumes memory. Wether the user really wants this or not is another subject,

  46. Re:Offtopic, what the hell is up with Slashdot's C by Anonymous Coward · · Score: 0

    Nobody knows. It's surely is Cowboy's mumbo-yumbo magic to confuse unworthy.

  47. browser wars by Anonymous Coward · · Score: 0

    ah browser wars.
    its funny how no matter what u say:
    - chrome lovers will find a way to say what it does is done best and its the best in the world
    - safari lovers will find a way to say what it does is done best and its the best in the world
    - opera lovers will find a way to say what it does is done best and its the best in the world
    - firefox lovers will find a way to say what it does is done best and its the best in the world

    "opera has debug code and its so slow" = rofl. 1: its compared against other "debug" releases and 2: so called "debug" code rarely makes any difference, beside exe file size.
    "firefox sux when ive 100 shit extensions so dont say it doesnt use little memory u fucking troll" yeah right. you're dumb.
    "1.2GB is nothing in my 16GB workstation". yeah right. you're dumb as well

    could go on forever

  48. In other words by Anonymous Coward · · Score: 0

    Safari is crap.

  49. Doesn't it? by De-Jean7777 · · Score: 0

    I've seen some here say that memory usage is not important unless you have a old computer. What if you run a lot of processes like I do. I have my IDE open, Firefox, Pidgin, Winamp or Rhytmbox, Several explorer or nautilus windows, subversion server, TortoiseSVN explorer extension(when on windows) etc. And I only have 512 MiB of memory. If I wanted to buy some more memory for my computer I'd probably have to decide between paying for memory(DDR400, which costs about twice as much as DDR2, even though it's older) or not paying for my internet connection(that would make the ISP very unhappy and me ending up on court getting sewed for not paying). I'm a student, don't have a job, and yeah, money is important, as well as memory is. Just because memory is 'cheap' these days is no excuse for writting a bloated memory hogging program. The browser is not the only thing that is running on peoples computers.

    --
    All the sexy babes want me... to fix their PC.
  50. Those 200 page high blogs are the culprit by cheekyboy · · Score: 2, Insightful

    Those idiots who make blogs with 300 images 400 youtube links that are 600 pages high are idiots.

    But they sure push FF to the limit.

    --
    Liberty freedom are no1, not dicks in suits.
  51. it doesn't matter anymore by Anonymous Coward · · Score: 0

    You can get all the memory you need for the cost of a video game. cheap asses

  52. Re:IE8 hardly matters for people who choose a brow by h4rm0ny · · Score: 1


    I feel the same way about CPUs. We're always seeing comparisons of the latest rivals. But personally, just sometimes, I'd like to comparisons of new versions versus old versions - whether that is latest releases of browsers or the Phenom IIs vs. old Athlon dual cores. I want to see progress because without that context it's hard to judge actual value. If we see that Firefox 3.5 is better than IE8, that's good to know. But what if they're both vastly superior to Firefox 3.0. Or that there really isn't much difference.

    --

    Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
  53. The Fox is my Friend by derspankster · · Score: 0

    I just like Firefox. It works the way I like. Guess I've never considered memory leaks and all that. And, I don't even own a Firefox t-shirt.

  54. Chrome uses less than 1Gb by Anonymous Coward · · Score: 0

    "Chrome uses over 1 Gb of memory due to its process architecture."
    More likely shared memory is counted more than once due to the process architecture.

    http://blog.chromium.org/2008/09/google-chrome-memory-usage-good-and-bad.html

    Instead of relying on Windows to tell you the memory used, you can use the built-in about:memory page.

  55. I would care, but... by luna69 · · Score: 1

    ...I don't.

    I have five machines ranging from 4 to 12 GB. I also don't keep applications open long enough for "degradation" to play a role; closing an app gives the OS a chance to play memory organizer just as surely as rebooting a machine (sorry *nix fanboys who brag about all of your oh-so-important 'uptime' when rebooting takes, at worst, a few minutes) gives it a fresh pallette.

    I don't CARE about memory usage. Just isn't on my radar, anywhere.

    --
    No gods, no demons, and no masters. Secular Humanism!
  56. Re:Offtopic, what the hell is up with Slashdot's C by dzfoo · · Score: 1

    Yes. I see them too. They arrived right after they fixed the white-on-white comment titles.

    You can work around the issue in the same way as with the previous bug: click the "Change" button on top of the comments.

            -dZ.

    --
    Carol vs. Ghost
    ...Can you save Christmas?
  57. I got 12GB... by siyavash · · Score: 1

    I got 12GB... so who cares? :D oh wait, I use Opera. :]

  58. Run it again on a low memory system by Anonymous Coward · · Score: 0

    I was wondering if Chrome was using a lot of memory, simply because there was a lot of free memory to use.

    This seems like a nice way to develop applications to me ... gobble up a stack of resources so that you can perform really quickly ... however, also know how to operate (at reduced speed) with reduced memory.

  59. My two cents by petrus4 · · Score: 1

    I haven't used Chrome on any platform yet, so I cannot speak for it.

    Firefox has usually been around 100 Mb for me on XP, which I consider bloated, but I'm aware that resource efficiency isn't important to many of the rest of you, these days. It seems to average at about half that on FreeBSD, but is still the most memory-intensive application I use on a daily basis. Still, for GUI web browsing, I can't complain, so I'm not.

    I'm not passionately in love with Firefox, but I don't hate it either; it serves its' purpose and I am content with it. It does what I need, doesn't crash unless there's a problem with a page, and does its' job in a relatively efficient manner. I suspect that my lack of feeling toward it either way is actually due to its' transparency; it stays out of the way to the point where I barely notice it at all, and lets me focus on web content instead, so people would probably tell me that that is a good reason to actively love it.

    I would not, however, like to go back to using Firefox without Vimperator at this point. I have heard even one Vim enthusiast express dislike for Vimperator, but I actually consider it probably the single most meaningful user interface upgrade that I have found since Ratpoison; the two complement each other exceptionally well.

  60. Time vs. Usage by JackSpratts · · Score: 1

    leaving any browser open all day long makes my weezy thinkpad x22 essentially freeze after some 16 hours, even if i'm barely using the box (it's durational more than usage based). however unlike what the author experienced chrome causes the least issues and opera the most for me, with firefox right behind opera.

    it's a problem since opera is my favorite browser and the stripped down x22 my favorite laptop. luckily it only happens at the end of these long stretches. if i reboot after eight ours it's fine. simply using any browser no matter how intensively for just a few hours is not enough for any memory leakage to become apparent with my setup.

    - js.

  61. Totally different results for my PC by rrossman2 · · Score: 1

    Ran the same FF and Opera browser setup, and Opera beats the pants off of FF. Don't forget, FF has the worst of the Javascript performance both speed wise and the fact memory usage shoots above Opera and Chrome.

  62. Don't quite understand by magamiako1 · · Score: 1

    I don't quite understand everyone's aversion to applications using memory. I mean--I'd much rather my applications take the time to use the memory I have, with all 4.5GB/sec of performance on sustained reads than my hard drive which is roughly about 3% of that speed on good parts of the drive structure with RAID0.

    Application performance should never be about how much ram it uses, but how it uses it. I'm all for applications being efficient, but if it wants a bunch of ram to make things a bit faster--by all means, I've got 8G in my system, have at it.

    This is one of the primary reasons I like Superfetch in Windows Vista/7--because it utilizes ram for application and data prefetching. What better way to use the ram than have the most frequently used programs and information cached and readily available at super high speeds?

    I wish some of my applications used more ram (see: WoW) just to improve visible performance (I'd rather have a higher upfront load time than the loading/performance drops mid-game).

    1. Re:Don't quite understand by Anonymous Coward · · Score: 0

      Mostly because Windows uses swap regardless of how much RAM you have by default and uses it for stuff like caching and Superfetch, negating any value these would have had in the first place.

  63. doesn't add up by Anonymous Coward · · Score: 0

    My experience of Firefox is over the course use for a week it becomes the biggest resource consumer on my machine and needs to be periodically shutdown (closing it can take nearly 10 minutes watching on Windows XP as it releases the excess of memory that it has accumulated). That isn't I admit with 3.5.

    Point is that test really is not representative of the real daily usage I see. People around me have the browser open with lots and lots of tabs for days on end.

    I've observed Chrome, Arora, KMeleon, Firefox in use on Windows (mainly a LInux user mind you) and find KMeleon the smallest resource user. The only trouble with that as a browser is javascript, every so often it just stops responding because of scripts.

    Memory use of FF I find pretty much the same on Linux too.

  64. Re:Offtopic, what the hell is up with Slashdot's C by Nimey · · Score: 1

    I see it too. Real professional that they make these insufficiently-tested (or untested) changes on the live site instead of a test box.

    It's merely an annoyance, but still.

    --
    Hail Eris, full of mischief...

    E pluribus sanguinem
  65. I wish I had 1 GB by slyborg · · Score: 1

    Our five-year old laptops typically run XP with 512MB. They're obsolete, yes, but a lot of smaller companies are like mine, and have to squeeze nickels, and in this economic climate, we're not getting new hardware or even new RAM in the next year. Running IE8 is deadly on these machines.

  66. Make Security Convenient? by jd142 · · Score: 1

    Wouldn't it be great if there were a way to make security convenient? Is there anything out there that monitors the type of action being taken and only prompts for credentials when the action looks suspicious? I know that if I authenticate on my linux boxes I won't be asked for my password again if I do something else in a short period of time. It's smart enough to know that if I just typed in my password 10 seconds ago, there's no need to do it again. (Which is a potential hole if there was a program running as the user that monitor requests for passwords and then executed the "bad" code immediately afterwards.)

    If there were a way for the OS to monitor my actions and know that if I go to Add/Remove Programs and try to install something, I don't need to be asked for my password. But if the install is automatic from a script or web pages, then prompt.

    AV programs use heuristics to determine things that might be viruses, could the os learn or take an intelligent guess (erring on the side of security) as to whether or not an action is really initiated by the user?

    After all, if I initiate something, I'm just going to put my password in anyway. No reason to prompt.

  67. Re:Offtopic, what the hell is up with Slashdot's C by Anonymous Coward · · Score: 0

    The fix is to set your User-Agent to IE6; might also need to add "&beta_index=0" to the URL to make it stick.

  68. Almost like my Firefox by Anonymous Coward · · Score: 0

    only that the peaks are at 100% memory instead of 200 M, and the vertical lines are when it crashes and I have to restart it. And no, it's not fixed in 3.5.

  69. Re:Offtopic, what the hell is up with Slashdot's C by theurge14 · · Score: 1

    It does this in Safari 4 as well.

    I was able to get rid of this by going to by Slashdot account preferences and selecting "Classic index" under Layout.

  70. CPU usage by Danzigism · · Score: 1

    it seems to me that memory usage is far less important that CPU usage. I mean if you spike out that processor, then your computer is at a fucking standstill. RAM is cheap, easy to upgrade, and can also be paged out to your hard drive. it is like putting a RAM upgrade in a Celeron. Yes it will *kinda* help with multitasking, but it will still be slow because the processor is holding it back. Chrome still has all of them beat in my eyes as far as speed is concerned.

    --
    *plays the Apogee theme song music*
  71. Moving for another reason by basicio · · Score: 3, Insightful

    Yes, you did used to be able to do everything you described in 256MB of RAM. But to attribute the biggest increases in web browser memory usage to programmer laziness is to ignore a drastic change in the way we (and by we, I mean the general internet-using public) use web browsers. It's no longer enough to display static web pages. Web applications are mainstream, JavaScript and Flash are practically inescapable.

    I was curious, so I just checked memory usage of a web browser (Firefox 3) and an office app (Word 2007). Total memory usage, with four tabs open to fairly intensive sites (slashdot, ars technica, gmail, facebook) and a 10-page document open in Word? 150MB. I do almost all of my web browsing and general computing on a computer with a 1.8GHz Celeron processor and 1GB of RAM. The P4 system you described should be doing just fine.

  72. Chrome: 100Mb to look at this page. by tjstork · · Score: 1

    That's pathetic.

    --
    This is my sig.
  73. Reducing memory usage - Firefox by viralMeme · · Score: 1

    "My experience of Firefox is over the course use for a week it becomes the biggest resource consumer on my machine and needs to be periodically shutdown"

    You actually ran XP for a whole week without rebooting ?

    Reducing memory usage - Firefox

  74. Re:Chrome: 100Mb to look at this page. by Shados · · Score: 1

    27.8Mb here...

  75. Re:Chrome: 100Mb to look at this page. by tjstork · · Score: 1

    You should see another process floating out there. There's a root chrome process and another for the tab. Either that I have a zombie.

    --
    This is my sig.
  76. Hah by Anonymous Coward · · Score: 0

    Safari 4 and Opera show memory usage degradation over time, while Chrome and Firefox 3.5 are more reliable in freeing memory to the OS."

    Freeing memory to the OS?

    I do not need more memory for OS. My OS takes only few hundred kilobytes memory. Problem is that all other software on the system takes all the else. Gnome alone takes over 150MB! If Firefox can save few megabytes or more, it does not help the OS. The OS is always loaded to RAM. It is the first software to be loaded to RAM and it executes everything else, so what does normal process memory usage help it?

  77. Re:Chrome: 100Mb to look at this page. by Shados · · Score: 1

    Ok, 50 megs then. But most of that memory is probably shared,so I'd guess its actually quite a bit less.

  78. BULLSHIT by Anonymous Coward · · Score: 0

    you don't have a wife!

  79. cuspmanship by epine · · Score: 1

    The point is that the single metric of this test, though in a way useful, is not the best way to measure performance.

    There's a difficult position: that more is better, on the back of the free work of others.

    Maybe the point should be whether this test measured the most useful value given the amount of effort invested in the test, or whether they should have bothered at all, if this was the most they could manage.

    From a cost/benefit perspective, I think there's enough value in what was accomplished *despite* these uncertainties. That said, if they could have managed to repeat this test run after yanking out a 2GB memory stick, that would be extremely informative as to how these browsers respond in a reduced memory circumstance, and how much of their memory use under large memory conditions was speculative.

    Just last week my commit charge on my XP system at work was in 4GB territory with 3GB of RAM installed. I had ten FF windows scattered over nine desktops. Four of the desktops had Eclipse workspaces open, plus sundry office junk, but none of my big memory hogs, such as R, running large jobs. I don't think memory consumption is a non-factor yet, for small values of yet.

    Let's back up for a moment and look at the big picture. I remember, all too vividly, back in the mid 1990s when one of the all-time favourite MS bashing memes was "no matter how large you make the hard drive, the next version of Microsoft 95/98/NT and Office would immediately expand to fill it up." In the minds of many teenage fanboys, the primary virtue of Linux was that it would run well on a 500MB hand-me-down disk drive.

    The fact of the matter is the many of those early versions of Windows were highly compressed and curtailed, at great effort, to run well at all. As hard drive capacities increased (along a completely predictable trend line) Microsoft stopped bothering with the suitcase packing tricks, and allowed the software to expand to its natural size, somewhere between 4 and 10 GB. Shock, horror!

    In the minds of many fanboys, software bloat makes an appearance on the end-of-civilization top-ten list. For about a year, which didn't stop a lot of people from posting on web discussion pages a very tired meme for years afterwards, as badly dated as rotary phones and bell-bottom pants. Sadly, I had to conclude that MS bashing causes brain rot.

    Back to the present. Browser memory consumption is going to follow the same inclined hockey stick. Even with a migration toward Google apps.

    Fast forward two years from now, as the economy comes out of the tank, and large build-out of corporate desktops with an 8 GB standard memory install, this discussion will be as quaint as wondering whether the upcoming Windows 2000 will install successfully on a 40GB hard drive.

    Earlier this month I priced a 12GB memory kit for a Core i7 system at USD$180 street (name brand). At 12GB, making the jump to a 64-bit OS is a no-brainer, as you're way past the pointer-size penalty.

    A much bigger factor in browser performance is how well these browsers exploit the available cores.

    For the netbook segment, it boils down to power efficiency: you don't really want to fire up eight cores to render compressed images every time the user presses the page down key, so the major impact of good memory caching will show up less in response time and more in power consumption.

    (Footnote concerning FF on multiple desktops. I absolutely *love* the FF FireTitle add-on. Press CTRL-; and it prompts you for a Window name, which becomes visible at the front of the process tab. The downside is that session saver doesn't capture the assigned window names so every time Adobe snafus FF, I have to assign all my window names over again. Nor does my session saver remember my window assignments under my multidesk client. Nor does Adobe remember its own session data, which is utterly incredible considering how often Adobe *deliberately* requires a restart to install patches. What I would give for a Chrome PDF viewer to smarten these guys up.)

    1. Re:cuspmanship by dzfoo · · Score: 1

      >> There's a difficult position: that more is better, on the back of the free work of others.

      I have no idea what you mean, nor what instigated your rant.

      Are you implying that I am criticizing the "the free work of others" by expecting them to do more work than they were willing or able to do? If so, that's a pretty baseless accusation.

      Lets get something clear: The authors of the test did not do me any favors; I did not ask them to do anything, and consequently did not expect them to do anything, free or otherwise. However, they did publish their test for the public to see, and it was submitted--whether by them or someone else--to Slashdot. It is therefore presented to our community as some sort of authoritative test, and therefore critique should not only be expected, it is warranted.

      >> Maybe the point should be whether this test measured the most useful value given the amount of effort invested in the test, or whether they should have bothered at all, if this was the most they could manage.

      Oh, I see; we should give them brownie points and recognition for the mere fact of having made any test at all. Should we give them a medal for effort too? I don't agree. As I and others have pointed out, the test is based on a flawed assumption: that memory usage is a valid or valuable performance metric. It's actually worse than that, as it fails to consider shared memory among multiple related processes. As such, it is worthless.

      I certainly appreciate their hard work, as I appreciate the work of anybody who is willing to give their time and effort for the betterment of the community; but if the thesis of a particular project has no worth to the community then I say, thanks but don't bother.

                -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    2. Re:cuspmanship by home-electro.com · · Score: 1

      For the netbook segment, it boils down to power efficiency

      You are wrong -- today, it boils down to power efficiency for ALL segments, and more memory equals more power.

      It also equals slower hibernate/resume.

  80. Wow! I was about to submit this observatn to /. by aqk · · Score: 0

    I recently noticed from my simple memory-usage indicator in the Vista taskbar, that FF 3.5 beta hardly ever increased in size when I opened a new tab.
    Yet Chrome started gobbling up memmory right 'n left when I opened new tabs.

    I hadn't gotten around to measuring Safari or IE8 yet, but I do know that I am sticking with FF 3.5 at present, as I only have one gig of mem with my Vista system.

    And I might add, it works quite WELL, you /. linux weenies! (unless I start using Chrome, which seems to slow down Googling, and even GMAIL!)

    1. Re:Wow! I was about to submit this observatn to /. by aqk · · Score: 0

      Addendum-
            Just look at the Vista Task-manager processes!
      You'll note that FF stays pretty constant, and ONE task, albeit large, yet-
        Chrome (initially small- Heh! It has to LOAD fast!) opens a new process for every tab!
          Is that too simple for you techies?

  81. Resource management functionality by Anonymous Coward · · Score: 0

    Related:

    How about functionality for IE/FF that showed the resource usage of each extension?

    How about a way to show resource usage of objects in the browser, so you can see just how much memory/CPU a particular Flash application/annoying ad is devouring?

    How about a way to disable extensions (and free up their associated memory) that you absolutely NEED, but are giant bloated pigs - without restarting the browser? Include objects of all sorts (images, applets, etc.) as well - select object, open context menu "remove current Object" - but AFTER it's been running, rather than before it loads like with Flashblock.

  82. Re:Software developers have gotten lazy.... by ibsteve2u · · Score: 1

    Nah, they haven't. It is the corporate bean counters, CEOs, and boards of directors who have no loyalty to Abrash's Zen of Assembly Language; coding for cycles and bytes takes time.

    The whole point of making code modular and dependent upon pre-existing "frameworks" - plug'n'play, if you will - was to dispose of those expensive programmers who could craft code in favor of those who could generate code.

    Don't need good, tight code, when you can generate bloatware offshore, release it, and then throw hundreds of programmers at bugs post-release and still turn a helluva profit.

    And the bean counters and the folks who get paid in stock options and so forth don't give a damn what box the public is running; witness Vista, the computer retailer's friend.

    --
    Orwell: "In a Time of Universal Deceit, telling the Truth is a Revolutionary Act"
  83. Mouse gestures! by jonaskoelker · · Score: 1

    And don't forget the mouse gestures!

    I'm mousing left handed. It's really a boon to not have to use both hands (or switch hands) to move between tabs, close tabs, open links in new tabs.

    *sigh* You know you have issues when mouse gesture software improves your sex life :(

  84. I think it may be FF's javascript engine by walterbyrd · · Score: 1

    Try this: load a simple html file (no javascript) in ff, open several tabs and load the simple html file in each tab. I am guess that will not crash ff.

    For me, it's javascript that kills ff. I am guessing that certain ff just can not handle certain javascript operations. For me, hitting the wrong kind of javascript is like stepping on land-mine, cpu usage is peaked at 100% and I have to kill ff.

  85. More explanation from Chrome by mbelshe · · Score: 1

    [disclaimer: I work for google on chrome]

    First off, Firefox is definitely great at keeping memory usage low - better than Chrome. Some on this thread say that firefox has memory leaks and bugs. I don't know about that, I find Firefox is pretty solid. Nonetheless - one advantage Chrome has is that tabs are in separate processes. So, as you close tabs you get to completely flush out all memory from that process. This adds a level of resiliency to chrome you can't match in single process browsers.

    Second - thanks to dotnetperls for posting their methodology and their exact test source code! The only question I have is "which memory metric was used?" There is a big difference between "working set private", "working set total", "private bytes", etc.

    What is the right metric to use? I use the same metric Vista uses: private working set. You might argue "why not use private bytes"? I agree this seems like a good metric, and it's not a bad one. But, it doesn't reflect user experience.

    Why? Because the working set is the amount of memory *not available to other apps*. If other apps can have the memory, then using the bytes is inconsequential. Private bytes does reflect bytes allocated by the process at some point, but the OS is not using physical RAM for those pages right now.

    For most applications, there isn't much difference between "private bytes" and "working set private bytes". However, because of Chrome's multi-proc architecture, there is a big difference. The reason is because Chrome intentionally gives memory back to the OS. For instance, on my current instance of Chrome, I'm using 16 tabs. The sum of the private bytes is 514408. The sum of the private working set bytes is 275040, nearly half of the private bytes number. This is on a machine with 8GB of RAM, so there is plenty of memory to go around. But if some other app wants the memory, Chrome gave it back to the OS and will suffer the page faults to get it back. Since Chrome has given it back to the OS (and has volunteered to take the performance consequences of getting it back), I don't think it should be counted as Chrome usage. Others may disagree. But Windows uses working set as the primary metric for all applications the OS folks agree that working set is the right way to account for memory usage.

    Single process browsers have a hard time giving memory back, because they can't differentiate which pages are accounted to unused, background tabs and which pages are accounted to the active, in-use tabs.

    One last note: If you have a version of chromium, you can run it using --single-process. I ran the dotnetperls test in this mode, and then Chrome and Firefox are pretty close in memory usage. Firefox still wins. But most of this memory use is due to the explicit tradeoff to use multiple processes rather than use minimalist memory.

  86. cheap aion kina by Anonymous Coward · · Score: 0

    Do you know the aion kina, in the game you need the aion online kina. It can help you increase your level. My friends always asked me how to buy aion kina, and I do not know he spend how much money to buy the aion gold, when I see him in order to play the game and search which the place can buy the cheap aion kina. I am happy with him.