Windows 11's built-in Weather app wastes more than 1 GB of RAM

(notebookcheck.net)

123 points | by akyuu 3 hours ago ago

101 comments

  • eviks an hour ago

    > By comparison, Apple's native Weather app on macOS reportedly uses less than 250 MB of RAM

    That's also bloated, couldn't they find a better comparison to illustrate the egregious waste?

    • nashashmi an hour ago

      It’s an equivalent app to make a comparison with, one from an OS company.

      But yeah, I still remember when a weather app would take 10 MB and I was complaining (1999)

      • blackhaz 41 minutes ago

        10 MB is ridiculously overbloated. 1 MB or something in that vicinity should be more like it.

        • Const-me 34 minutes ago

          10 MB is not too bad for a GUI app. If the app is full screen, display is FullHD and has 8 bit depth, that's almost 8 MB memory for the back buffer alone. Enable HDR and pixels become 8 bytes RGBA16_Float instead of 4 bytes BGRA8_Unorm, twice as much memory.

        • david-gpu 38 minutes ago

          How much money are these companies going to make by reducing their weather app to 1MB, or 10MB? How much is it going to cost them to get there?

          The world doesn't run on personal aesthetics, when nobody is willing to pay for them.

          • nashashmi 16 minutes ago

            These days we have an AI system to do exactly this kind of optimization, too expensive for humans, and too cheap compared to consuming expensive modern hardware

          • fragmede 25 minutes ago

            The MacBook Neo has only 8GiB of RAM. This is widely decried as not enough. The RAMpocalypse means that 8 GiB is going to have to be enough or else it'll eat into Apple's margins. The Neos are wildly popular though because people have used it and 8 GiB is fine. So while the singular weather app being smaller itself isn't material, I'm aggregate, macOS being more efficient is something that lets Apple sell a lower spec product while still justifying a higher price.

        • cdud3 24 minutes ago

          The KDE Plasma weather app takes in maximum 1MB.

          • lynguist 17 minutes ago

            I'm not sure if you're reply hunting or we talk about different apps but how would you fit the Qt runtime, Javascript runtime, font cache, graphics, networking libraries, etc in this limit? This can't physically be under 70 MB, and more like 100-200+ MB.

            • Telaneo 2 minutes ago

              Many of those things are already in memory just from running an empty desktop.

    • cogman10 37 minutes ago

      My entire kde "plasmashell" which includes my wallpaper and the various widgets installed (including a weather widget) uses 560MB for a screen with 5120x1440 pixels.

      • monster_truck 11 minutes ago

        That's still 26x more than the size of the display buffer, I would never settle for such bloat /s

    • loehnsberg an hour ago

      I built a weather app for myself fetching ECMWF ensemble forecasts for my home location. Running the service is 60mb plus data 39mb and another 2mb for the spaghetti charts showing temperature, clouds, precip, wind over 10 days. What do I need to do to fill the other 900mb?

      • zapkyeskrill an hour ago

        Run those things as an electron app? Add on analytics, location tracking and data exfil and you'll be fairly close

  • ndriscoll an hour ago

    My gaming PC I built in January 2006 that IIRC I used to simultaneously run Battlefield 2, Trillian, Xfire, Thunderbird, and Winamp with a 1680x1050 monitor had 1 GB of total system RAM.

  • firefoxd an hour ago

    This took me down a rabbit whole. Why can a simple single purpose app not be just a couple megabytes if not less? The popular options are electron 100MB+, or embedding python3 in your executable which is at least 40MB.

    But if you build it natively, you should have all of Microsoft tools at your disposition, dlls and such. In theory, this should allow you to make a 1 mb app or less. But in practice, it's the worse option.

    • mort96 an hour ago

      Pictures and frame buffers. If you're running fullscreen at 4k, you're probably gonna take two roughly 3840x2160x3 byte frame buffers for the window. Your designers want a background image which moves as you scroll in some parallax style; that's over 3840x2160x3 bytes more for the pixel buffer backing the image layer. And let's say roughly 50% of your screen is text with subpixel (aka full color) anti aliasing; that means another 3840x2160x3x0.5 bytes for the pre rendered text.

      3840x2160x3x3.5. That's 87MB, in pixel data only. And it's a very minimal example; for the parallax image, you're gonna want the image to be significantly taller than the window; you're gonna want a ton of smaller (tho still high DPI) images for icons; a few different font atlases for different font faces you've loaded at once; maybe pre rendered pixel buffers for all sorts of UI components; etc.

      And lord help you if your designers want any part of this to be animated.

      (I'm playing a bit fast and loose with what lives on the GPU and what lives on the CPU here. On many systems, they share a memory pool anyway. But on systems with discrete GPUs, most of this is gonna be video memory. Though applications may wanna store CPU-side copies as well for various reasons.)

      • firefoxd 2 minutes ago

        Good point. Though 4k image assets mean more that they look in 4k, not that their size is 4k. It might not be 87mb, but still way more than the couple mb I suggested.

      • 201984 26 minutes ago

        >Your designers want

        Sometimes, you need to tell the designers NO. Moving background images don't help people figure out what the weather is going to be.

        • mort96 22 minutes ago

          Honestly if the image is of the current weather it kinda does. I don't mind e.g Apple's weather app design at all

    • trzy an hour ago

      The visual assets alone will be tens of megabytes.

      • anonymars an hour ago

        Why, though? You need some icons and some map imagery, not 4K texture maps

        • chneu 27 minutes ago

          Its 2026. You need 4k assets for job security.

      • iAMkenough an hour ago

        For a weather app, you should be able to get by with a couple base vectors you modify based on conditions.

        • mort96 an hour ago

          On disk yeah, sure. But you're gonna render them into a pixel buffer which lives in memory.

          • samrus an hour ago

            How did applications do it before? Like in the 90s or 00s

            • mort96 an hour ago

              WAY lower resolution screens so pixel and frame buffers were a tiny fraction of the size, non-composited graphical environments which meant there was one fewer frame buffer per window, and a visual style which typically emphasized large pictures/animations less.

            • nicoburns an hour ago

              They had fewer graphics, and much lower resolution screens.

              • Dylan16807 40 minutes ago

                Windows 98 SE kind of went overboard with the graphics (remember Active Desktop?), and a common screen size at the time was 1280x1024. But if you run modern stuff at 1080p (60% more pixels) or 720p (fewer pixels), you're not going to see comparable memory use.

                • mort96 38 minutes ago

                  Windows 98 wasn't composited, which makes a huge difference.

                  And to be clear, there's a ton of unnecessary bloat today as well. It's just that even a lean and mean highly hand optimized native app is gonna be way bigger today than it was then, due to compositing, higher resolution assets, higher resolution screens and different design sensibilities. But most apps aren't lean and mean highly hand optimized native apps so.

                • vel0city 18 minutes ago

                  > and a common screen size at the time was 1280x1024

                  Maybe if you were really rich and only used high end desktops. A lot of the computers I used back then were still 800x600, fancier ones were 1024x768. If you happened to also have a 2D accelerator card you'd potentially have 1280x1024. And lots of apps purposefully ran at a much lower color depth, it was common for games to run at 8 or 16 bit color mode.

                  • Dylan16807 a minute ago

                    I saw a lot of computers set to 800x600 but I don't recall any that couldn't be switched to at least 1024x768. Which is still quite close to 720p for making this comparison.

                    And yeah lots of fullscreen things ran in lower color, but this is about desktop mode and I never saw a desktop mode that struggled based on color depth.

      • Micrococonut an hour ago

        Should be able to get by with using system graphics

      • SV_BubbleTime an hour ago

        Do all visual aspects of a weather app need to be loaded at once? Is the cost penalty loading a hundred kilobytes per image from disk really unacceptable?

        • doikor an hour ago

          Even if the app is no longer using that memory it is not released until Windows thinks another app needs it.

        • vel0city 17 minutes ago

          And then people complain about how unresponsive applications are, all these little stutters as things pop in.

    • znpy an hour ago

      It can, but you have to know what you’re doing and you have to know it very well.

      Looking at the opposite extreme, the guy that originally wrote the windows task manager (the thing that popped put when you pressed ctrl+alt+canc) posted a video about cloning the windows basic text editor in a 3kb binary: https://youtu.be/OG91c7xsNMc

      Needless to say, the guy knows what he’s doing.

  • itopaloglu83 2 hours ago

    And it also ads on it.

    Really Microsoft? Do you really need all the ads revenue from the weather app?

    What’s next? Ads on the start menu?

    • mort96 2 hours ago

      Microsoft absolutely doesn't need it, but I'm guessing the weather app team (or the core filler apps team or whatever team is responsible for it) needs it to juice a metric to make some middle manager happy.

      And it makes the middle manager happy because it lets that middle manager report better numbers to their superiors again.

      Etc.

      It's why all large dysfunctional organisations do self destructive stuff like this.

      • SlightlyLeftPad an hour ago

        “What value are you bringing to the company?” translates to “if you’re not printing money, you lose your job.”

        • dasyud an hour ago

          I once worked on a project where the goal was to improve the reliability of MS Teams. The skip level manager was not happy when we said we cannot estimate what the revenue gain would be because it can't be measured.

        • mapontosevenths an hour ago

          Any manager who doesn't push back when given a perverse incentive should be fired. They are not leaders, they are followers... And not even very good followers.

          • mort96 40 minutes ago

            Yet they're the ones who get promoted because their KPIs are the best.

    • WakeUpPeople 2 hours ago

      > What’s next? Ads on the start menu?

      They already exist: https://www.howtogeek.com/windows-11-start-menu-ads-how-to-t...

      • _trampeltier an hour ago

        Don't they even had it earlyer and even let the DNS expire, so someone else could spam the startmenu?

    • bossyTeacher an hour ago

      They do. Never forget, Microsoft's goal is to squeeze as much money from you as possible.

      • dabinat 35 minutes ago

        That’s the goal of every publicly-traded corporation in a mature market. Wall Street demands ever-increasing returns and they can’t grow their customer base much so cost-cutting and fleecing existing customers are the only levers to pull.

  • CrimsonCape 44 minutes ago

    Yesterday I was running : NixOS, mango window manager, 5 instances of ghostty, 2 of those running fresh terminal editor, firefox with 5 tabs and I was at 2.37gb of RAM.

  • iamcoder18 2 hours ago

    This article seems to be underestimating how much RAM a weather app should take. A well thought-out, native Weather app wouldn't take more than 100 mb of RAM.

    • e2le 2 hours ago

      What is the weather app doing that it requires 100MB? For such a simple application, that seems excessive.

      • kevincox 2 hours ago

        Mostly rendering. A bunch of images, text, UI elements. On a modern high resolution display it adds up quite quickly. You can surely cut it down a bit, but 100MB isn't absurd.

        • Dylan16807 an hour ago

          If I full-screen it in high enough resolution it can be excused for using 100MB temporarily.

          The window in the article wasn't very big. At most it would have about 10MB of framebuffer, and the images on display would fit into 1MB uncompressed.

          We can't excuse typical program waste with screen sizes. Especially when you can switch to 1080p or 720p and watch them still use massive amounts of memory.

        • charleslmunger 2 hours ago

          A weather widget using 8 bit color plus alpha on a 4k display show three full size images in 100mb. But I suspect that's not the ux we're talking about here, and a widget style system has no excuse.

          • galad87 an hour ago

            Apple's Weather app has an animated background, glassy views, and nice animations like water droplets on the glassy views when it's raining. So rendering all that on a 4k or more display at 10bit depth is going to consume a bit of RAM. However I guess it can surely be improved to make it consume less RAM.

          • satvikpendem an hour ago

            https://wttr.in/ shows it's very possible.

          • anthk an hour ago

            Vector icons. It can be fit under 50MBs.

          • useasvg an hour ago

            Use an svg.

            Or render everything using css, 100mb is someone not trying. 1gb is absurd abuse that only domestic violence victims put up with.

            • qlm an hour ago

              Quite a tasteless metaphor, no?

      • cyberrock an hour ago

        I think this depends on your location, because in some places you really want to view a radar map. "Rain in $CITY" is practically useless for me. Still, the (static?) map in the depicted app shouldn't take 1GB.

    • karmakurtisaani 2 hours ago

      This has strong "How much could a banana cost? 10 dollars?" vibes.

      Back in my day 100MB was all you had for all your compute, and somehow programs still ran.

      • whynotmaybe an hour ago

        Back in my days, I had to remove the mouse driver from autoexec so that microprose grand pirx had 600kb of ram to start

        • SV_BubbleTime an hour ago

          Had to get a ride to drive floppies with corrected config.sys and autoexec.bat files around to friends.

          Things weren’t actually worse.

      • kevin_thibedeau 2 hours ago

        When RAM was $100 per MB that would be $10,000. You can do a weather app in much less provided you use native code.

      • big85 2 hours ago

        LumiWeather for AmigaOS runs on 2 MB RAM.

        • drdaeman an hour ago

          ESP32 in my OpenSprinkler pulls the weather (among a few more things it does) just fine and it has 520 kilobytes or RAM total.

          • 2Gkashmiri an hour ago

            Windows really I'd shitty for "assuming" unlimited ram, storage, processing, internet budget for them to get away with it.

            They "could" make it easy but why bother? I assume next update will make calculator 1 gb download, 2gb ram resident and ADS

    • p1mrx 2 hours ago

      My favorite '90s weather app was WetSock. The installer was 1.5MB, though I don't recall the RAM usage. It showed a sunny/cloudy/etc. icon in the system tray, with the temperature in a tooltip:

      https://web.archive.org/web/20010210023051/http://www.softse...

      https://web.archive.org/web/20070210195451/http://www.locutu...

    • satvikpendem an hour ago

      You don't need anything more than https://wttr.in/ even with all the fancy terminal graphics.

    • lousken 2 hours ago

      I am pretty sure xfce4 weather plugin takes a lot less.

      • Throwthrowbob 32 minutes ago

        Looks like about 30 MiB with a quick test.

    • benj111 an hour ago

      Well it's comparing it to apple's weather app, which is a fair comparison I suppose. 100mb still sounds like at least an order of magnitude too high to me though.

  • w4yai an hour ago

    Please, Microsoft, PLEASE ! You can do BETTER ! Stop acting like an internship for every single feature you add ! Where's the money going ?

  • undebuggable 8 minutes ago

    An app which could have been a website.

  • feverzsj 2 hours ago

    It's just msn weather page. Can't they use one single browser for all their apps instead of one per app?

    • whynotmaybe an hour ago

      No, because you have to manage communication between different teams on "how" and "what" about the single browser, much easier to let every team do their "best" without any external interference

  • hyperhello 2 hours ago

    I would like to be assured that the author knows the difference between actual memory and setting aside paging space.

    • benj111 an hour ago

      That still isn't a good look.

      • hyperhello 38 minutes ago

        I’m not sure if you mean a good look for the process or for the author but paging space is just saying “gimme a gigabyte” like saying “gimme a plate” is at a barbecue. The resources themselves aren’t being used at that point.

  • pixel_popping 6 minutes ago

    Anything above 50MB RAM for this is shameful imo and reflect poor engineering.

  • dietr1ch an hour ago

    At some point you just got to be amazed at it and celebrate.

  • hokkos an hour ago

    Apple Weather app can jump to 1GB on a mac if you click around a little with the wind gust direction particle effect in the map

  • rdedev an hour ago

    How much does rainmeter take? I used to load tons of widgets on it in my old laptop. Ahh those were the days

  • calini an hour ago

    The Weather app in Windows is more ads than weather, so it checks out.

  • TacticalCoder 37 minutes ago

    All the comments excusing the RAM usage "because high-resolution screens require pixels" are missing the fact that there's this thing called GPU memory. Which is where pixels data should be. There's no way you need to store fullscreen 4K images for a weather app on anything else than the GPU: use scalable icons, render them on the GPU. No need to use actual RAM: the GPUs have had their own RAM since times immemorial and GPU rendering is a thing too.

  • rahulmax 24 minutes ago

    "Windows users are fundamentally willing to put up with more bullshit than MacOS or Linux users."

    I read this circa 2010 and it stuck with me ever since. Also, have felt this way over the years, when I see Windows users work.

  • i-e-b an hour ago

    The complete works of Shakespeare are about 6MiB. I hate that 100MiB is considered efficient for telling me if it's going to rain later.

  • drtournier an hour ago

    PC games were the last reason why I still used windows. Now that Proton works wonders in Linux, I hope I don’t need to ever come back again. Great times with 98, xp and win7 that were snappy, easy to install and with no slop

  • Wowfunhappy 2 hours ago

    ...you know, I keep reading all this stuff about memory prices, and it does suck, but memory is still much cheaper per gigabyte than it was ~15 years ago.

    Which matters because the things most consumers are doing on their computers haven't changed in the past 15 years. We browse the web, edit photos, message friends, and so on. AI generally runs on remote servers anyway.

    For years, everyone kept saying it was fine that Electron used gigabytes of memory, because on modern PCs memory was plentiful anyway. Well, it's not plentiful anymore! Maybe it's time software developers actually used resources efficiently?

    Hey, you even have an LLM to help you now!

    • AnotherGoodName 2 hours ago

      But it's literally not cheaper than it was ~15 years ago? Right now RAM is the same price per GB as it was in 2007 and prices per GB look to continue to rise.

      https://www.tomshardware.com/pc-components/ram/scientist-say...

      • ttoinou an hour ago

        Nobody would like to use DDR3 right now though, you can get cheap DDR3 DDR2 if you want some

      • gruez an hour ago

        >Right now RAM is the same price per GB as it was in 2007 and prices per GB look to continue to rise.

        ...when looking at nominal prices (ie. not adjusted for inflation). If you adjust for that the furthest back you can go to get that price is 2011. What's more is that because RAM prices are subject to boom and bust cycles, that price has also been reached in 2015. So just by tweaking two parameters we went from 19 years (2007) to 11 years (2015).

        • adrian_b an hour ago

          That is correct, DDR5 today is in real US$ slightly cheaper than DRAM was in 2011, 15 years ago.

          For more than 15 years in the past, the price in real US$ of DRAM per GB was always higher than today.

          During 2014, there was a brief price peak when DDR3 (the standard current then) was slightly more expensive than DDR5 is today.

          Still, the fact that now the price per GB is the same as 15 years ago, is bad enough, and it can still become worse.

    • Dylan16807 an hour ago

      We had modern programming toolkits that traded some efficiency for ease of use 20 years ago, along with GPU compositing for maximum smoothness. And that's when Vista came out requiring a whole 1GB to run properly. And other than doubling for 64GB that didn't change through 7, 8, 8.1, 10.

      Electron was never a great idea but more and more basic things keep moving to it and the result is a disaster. When you use it for several little things at once it turns from annoying waste into massive waste.

    • hinkley an hour ago

      But we went from 1080p monitors to 5k monitors and so we are pushing 7x the number of pixels and at roughly twice the bits per pixel.

      • Wowfunhappy 41 minutes ago

        Sure, but I don't really think that accounts for the increase in memory usage.

        • hinkley 2 minutes ago

          No but it's the biggest one that's easy to forget.

          Feature factory work increases the surface area of every API you touch, and the proliferation of pre-written APIs expands the number of APIs you touch. The combination of the two is not quite O(n²) but the exponent is more than 1, so it's still geometric.

    • kasabali an hour ago

      15 years ago 4GB was comfortable and 8GB was abundant.

      Today 8GB is bare minimum.

  • dude250711 an hour ago

    Thanks, React and friends.

  • trashface an hour ago

    I'm sure the memory pages compress well /s