OS X versus Vista, RAM division

OS X versus Vista, RAM division

Summary: Now that I have a recent-vintage MacBook for testing, I'm finally able to make some head-to-head comparisons between OS X and Vista. Because this system has a mere 1GB of RAM, I was curious to get a sense of how thrifty OS X Leopard is when it comes to memory usage. Vista gets a bad rap for demanding huge amounts of resources. Is that reputation fair or accurate? I put both systems to the test so I could see for myself. The results were surprising.

SHARE:

As I noted earlier this week, I’ve begun using a MacBook (the basic white model) and keeping a log of my experiences.

Yesterday, I received the adapter cable I needed to hook this machine to an external monitor so that I could use it in a desktop configuration. (A note to the thrifty: Don’t pay Apple $29 for this mini-DVI cable. Instead, go to Monoprice.com and pick up the generic adapter for $9.96. With shipping, it was still under $12, and it works just fine.)

Now that I have this system up and running on a full-sized screen, I'm ready to make some head-to-head comparisons with Windows. Because this system has a mere 1GB of RAM, I was curious to get a sense of how thrifty OS X Leopard is when it comes to memory usage. I was especially curious to see how Leopard compares to Vista, which as been slammed by critics as a resource hog.

To get started I opened Safari and opened a single web page, then began playing an MP3 track in iTunes. With those tasks running, I checked the results from Activity Monitor:

Memory usage for basic tasks on a 1GB MacBook

As you can see, the OS reports that 581MB is in use, with 430MB free.

Next, I launched a similar set of tasks on a system running Windows Vista Ultimate. To make the comparison fair, I used the System Configuration utility to disable all but 1024MB of memory in the system, which has 4GB of RAM. This system is using the full Aero interface (disabling it had no significant impact on the RAM footprint). I opened Windows Media Player and Internet Explorer, began playing the same MP3 tune and browsed to the same page that was open on the Macbook. Here’s what Task Manager showed for memory usage:

Memory usage for basic tasks on a 1GB Vista machine

For those keeping score, the Vista machine is using 594MB of RAM, which is roughly 2% more than its Mac counterpart running the same set of tasks.

Vista gets a bad rap for lots of things, including its reputedly voracious appetite for memory. As you can see, Vista compares favorably to OS X in this regard and doesn’t deserve that reputation.

Topics: Processors, Apple, Hardware, Microsoft, Operating Systems, Software, Windows

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.

Talkback

238 comments
Log in or register to join the discussion
  • Why must we try to compare apples to oranges?

    Two different OSes. Two different ways of managing memory.

    Period.
    dcoaster
    • And yet...

      The numbers are nearly identical.
      Ed Bott
      • Actually ...

        ... if Vista was running Windows Defender it could be argued that Vista is more efficient ...
        Adrian Kingsley-Hughes
        • Vista needs more software running

          to work as expected, i.e. Vista requires AV because of
          lousy built in protection, OS X doesn't.

          Unused RAM is useless RAM, i.e. an OS should absolutely
          use as much of RAM as it ever can, for harddisk data, from
          the network, etc.

          Efficiency is more about a modular OS in which separate
          parts of it is preferably loaded only once, something where
          I know for a fact that the different UNIX really shine, i.e.
          Vista will likely have gobbled up a lot more RAM at the end
          of the day.
          Mikael_z
          • No...

            Vista "needs" AV (I don't run any active AV, but I do monthly scans and nothing has ever been detected) because it is more popular. It has better built-in protection than OS X, since it has DEP, ASLR and Protected Mode (sandboxxed) Internet Explorer, things OS X does not have. So please keep your pet theories that you make up to yourself, because they have nothing to do with the real world, thanks.
            jamesrayg
          • indeed

            Built in protection is better than Mac. It's security by obscurity, for the time being anyway, for the iCult.
            eggmanbubbagee@...
          • Security by obscurity . . .

            Oh my god [rolling eyes], it's the "Market Share Myth."

            Must be a troll, perhaps, or maybe a newbie.

            Or a MS Fanboi.
            brian ansorge
          • heh

            Just started reading this blog. Its pretty funny.

            Sandboxing and library location randomization were developed by linux people and soon used in OSX. ALL applications in OSX are sandboxed to one extent or another. Just because an OS does not use flashy names for its features, does not mean it does not have those features. Vista's security model is a bit neanderthal too, as it tries to accommodate the old(XP compatibility) and the new instead of having started with a proper security model like any other OS out there. Consider the amount of applications that have to bypass Vista's security features just to work properly.
            isulzer
          • Uh, no...

            "Sandboxing and library location randomization were developed by linux people and soon used in OSX."

            If by "soon" you mean in Leopard, then sure, you're right. That's when address space randomization of system libraries appeared in Mac OS X.

            As for your comments on Windows security and backward compatibility, you're pretty far out of your depth and should probably do some reading before you try to make any further statements.
            Ed Bott
          • am i?

            How many Xp applications will not run in vista unless run as administrator? which kinda invalidates the root escalation concept.

            Applications need to access memory and devices via some HAL in the same way they used to in XP or they will not work in Vista. All you can really do is design a wrapper to add security around it. Note that this isn't for all applications, just complex or particular ones.

            But hey, I'm not a genius and Microsoft hires people much smarter than me. So they probably did this much more efficiently.
            isulzer
          • Questions

            "How many Xp applications will not run in vista unless run as administrator? "

            You tell me. In my case, the only apps I can see that require that are those that interact with system functions, such as disk managers and security software. Most programs work just fine under standard accounts. A few need minor modifications. If you look up "shims" and Vista in your favorite search engine you'll see how that works.

            Honestly, you're not making a lot of sense, just betraying your lack of knowledge.
            Ed Bott
          • and shimming is..

            a wrapper that lets older applications think they're in the same environment. Exactly what I said. And yes a few needed to be recompiled with some fixes to work under vista...

            search in your favorite search engine: "run as admin" vista
            Many standard programs that needed to do some file I/O would not work without a fix, or run as admin.

            Granted, the apps that were still supported by their creators were patched. Older unsupported ones were not, and create a security risk.

            Furthermore some older games do not work at all now. Or have serious graphics bugs that make them unplayable. The funny thing is my linux or mac can run them in wine perfectly. I'm not, however, saying Wine is perfect. far from it there are many apps that do not work. But having to play around like this is a real PITA for people.
            isulzer
          • So, isulzer...

            ...name examples.

            'Some' is no good. Names please.
            Sleeper Service
          • that ive used...

            peachtree, games like tie fighter(yeah so? :P) one of the Myth games... a few others that are from when I was a kid. Um dark reign.. this was a while back. I cant remember which worked or not. But most had some issue.

            Google on the other hand gives me a bigger list. just type what i said into the search field.

            Heck even visual studio needed to be patched to work in vista. And that's an app made by another MS team.
            isulzer
          • You are aware...

            ...that you couldn't run TIE Fighter in XP either without quite a bit of fiddling because it was written for DOS? You actually can play it in Vista, it just takes a lot of messing about to do so.

            Or you can just install DOSbox which makes it dead easy. In fact I think DOSbox covers pretty much all those games.
            Sleeper Service
          • wrong again

            it was written for windows 95. I still have the game. I played it last month. it kicks ass. On windows xp. IT works with windows 95 compatibility, however it has glitches like the mouse is a 15 by 15 pixel square. and it sometimes crashes and deletes the player files...

            The game that was written for dos was its predecessor, x-wing. Strangely enough they made a windows 95 version with improved graphics. I had the box set with all the SW lucas arts games.

            Unfortunately it wont work with wine due to lack of wine joystick support. bummer.

            other games though work pretty damn well in wine. with minor glitches. Had this game not required a joystick, it would have worked perfectly.
            isulzer
          • @isulzer, Windows 95 is DOS.

            Window ME was the last incarnation of Windows running on DOS.
            logic_earth
          • not quite

            windows 95 integrated DOS into the OS. However, it used drivers that separated the applications from the devices, facilitating application portability. For example. It used directX or a software renderer vs the DOS version of xwing and other DOS games that interface directly with the devices and as such work many times better in emulators like DOSBox. One such game was Castles, Siege and Conquest. Another was... etc.

            This was a complete departure form previous versions of the OS.
            isulzer
          • *facepalm*

            It's a DOS game. That's why everyone on the web refers to it as a DOS game.

            In any argument there's a time to admit your wrong when the evidence doesn't support your argument. Unfortunately, from reading your posts, this concept appears to have escaped you.
            Sleeper Service
          • Shimming

            isulzer, you are wrong again. You define shimming as "a wrapper that lets older applications think they're in the same environment."

            Where did you pull that definition from? Shimming represents a wide range of specific configuration settings that report different information to a specific app to fool it into running properly. It does not patch the app. It does not change the running environment. It does not create a "wrapper."

            Do some reading.
            Ed Bott