Summary

  • Windows 11 Weather app hogs about 1.2GB RAM and spawns multiple Chromium processes.
  • App displays ads because it wraps MSN weather in a WebView2/browser shell.
  • Native macOS Weather uses ~247MB with no ads; Microsoft should port to WinUI 3.
  • edwardbear@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    10 hours ago

    80% of windows users, I guarantee, use the weather app daily. I place my bets there’s a bunch of crap happening as a background process.

  • kevincox@lemmy.ml
    link
    fedilink
    arrow-up
    18
    ·
    16 hours ago

    My first thought: If it isn’t always running it honestly not a major concern how much memory the weather app uses.

    My second thought: 1.2GB WTF? Ok, that is way over the top. The executive in charge should be fired.

    My third thought: 250MB? That is still a little unnecessary, even if it probably does fall under the “doesn’t matter” threshold.

    My fourth thought: gnome-weather uses 180MB, not great, not bad.

    • thingsiplay@lemmy.mlOP
      link
      fedilink
      arrow-up
      7
      ·
      16 hours ago

      I think reading how much RAM a program uses is a bit complicated. In example there are shared libraries, and RAM will be reused if multiple applications uses the same resource. If two programs using the same library uses up 1.2gb on their own, then starting up app A and measure its 1.2gb, then close and measure app B with 1.2gb would give you exactly that. But in reality if both apps would run at the same time, their total RAM usage might be just 1.4gb.

      As an example, if I already run KDE on my system and another KDE app starts up, it might not use too much more RAM. But the same app on a GNOME system might require a lot of additional RAM. So the Windows 11 Weather app might not even use 1.2gb on its own. No idea how they measured it.

      • xthexder@l.sw0.com
        link
        fedilink
        arrow-up
        2
        arrow-down
        2
        ·
        edit-2
        10 hours ago

        While shared memory is a feature in linux, it’s mostly used for inter-process communication and isn’t something that happens by default with shared libraries.

        When a program loads a shared library, it creates a new instance of it that runs in the same memory space as the program.

        In the example you’re using with KDE, that’s actually a system process that your program is communicating with, so it’s not quite the same as just loading a shared library (.so). Since new programs can connect to the existing system service, that can end up saving RAM by having a single system program service multiple user applications.

        This isn’t really any different on Windows where the desktop environment (dwm.exe) is handling drawings and compositing for all user apps.

        Edit: Based on the downvotes, maybe I got something wrong here. Maybe someone can comment on what? I’m happy to learn

        • thingsiplay@lemmy.mlOP
          link
          fedilink
          arrow-up
          3
          ·
          9 hours ago

          Hi. Ehm I didn’t downvote, just for reference. I’m not sure either. Maybe the shared memory you was talking about is data exchange, not sharing resources of currently loaded modules from same applications.

  • C4pt41n_Pr0xy@lemmy.world
    link
    fedilink
    English
    arrow-up
    66
    arrow-down
    1
    ·
    23 hours ago

    Even 247MB seems too much for usually checking the weather. Once upon a time, the entire operating system was able to run without any problems on less than 512MB of RAM, including programs, and now you tell me that I need half of it to check the weather? Technology has lost itself along the way…

    • adoxographer@feddit.dk
      link
      fedilink
      arrow-up
      2
      ·
      2 hours ago

      I’d bet most of that would be images, the little animations it makes, all the different maps and overlays it needs, the ability to support multiple devices.

      You could argue some optimization would benefit it, but at 247MB with an OS that is good at managing memory, I really don’t see how much smaller you could get it to.

    • fartsparkles@lemmy.world
      link
      fedilink
      arrow-up
      36
      arrow-down
      2
      ·
      20 hours ago

      Framework upon framework, abstraction upon abstraction. In pursuit of consistency and ease of development, the art of computer programming was lost and replaced with careless consumption of resources.

      • SreudianFlip@sh.itjust.works
        link
        fedilink
        arrow-up
        7
        ·
        15 hours ago

        When I was young and A.I. was a science fiction topic, I was convinced that increasing efficiency in code and design would be a major benefit, doing more with less, the everyday magic of software disappearing into the walls and devices like magic gnomes.

        I forgot about the ads.

    • HakFoo@lemmy.sdf.org
      link
      fedilink
      arrow-up
      12
      ·
      18 hours ago

      Yeah.

      Weather.gov has an API. Hit three endpoints- one to convert lat/long to their grid system, one for current conditions, one for forecast. Box the JSON into a pretty layout. <100 lines of TCL/Tk if you want to do it the lazy way and it still takes less RAM than an Electron Hello World.

    • pHr34kY@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      19 hours ago

      It depends how far back you go. I remember upgrading from 4MB RAM to 8MB to run Win95.

      You can absolutely get the job of displaying weather done on a meg or two.

  • altkey (he\him)@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    12
    ·
    20 hours ago

    I liked the idea from another article about Whatsapp webview app: if Microsoft itself doesn’t invest time and resources to write native apps, who would care to? They themselves set a low standard switching app platforms and writing web wrappers, and it’s naive to think this stops at bare Win11 being bloated - it means most other apps would also be created as bloatees. Resource consumptions just explodes, and so does the head of the end user whose brand new PC can’t handle basic desk job and work chats.

  • H4RL3Y@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    28
    ·
    23 hours ago

    And yet my script to fetch from an API and display in my bar uses no more than a few megabytes with the bar included…

    • a1studmuffin@aussie.zone
      link
      fedilink
      English
      arrow-up
      17
      ·
      20 hours ago

      And even that would be considered absurd by yesterday’s standards. The entire game ROM for Super Mario Bros on NES is 40KB.

      • H4RL3Y@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        18 hours ago

        Yes, well, despite how lean I can make my kernel and userspace, technology has become more advanced to support far more than the NES.

  • Classy Hatter@sopuli.xyz
    link
    fedilink
    arrow-up
    17
    ·
    23 hours ago

    My OS (Arch, MangoWM+Noctalia) uses about 1.3GB when no apps are running. It even includes a weather widget among other information widgets, like system monitor, all loaded in memory with their corresponding information, and it’s all included in that 1.3GB.

  • doleo@lemmy.one
    link
    fedilink
    English
    arrow-up
    5
    ·
    22 hours ago

    Never forget: calendar flyout

    It was years ago, but that straw broke this camel’s back

    • ChristchurchAsshole@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      20 hours ago

      I had to look it up. Yuck. A lot of users are just beta testers aren’t they? At least with Linux you know that people care about fixing it. But Windows, it’s a mess.

      • doleo@lemmy.one
        link
        fedilink
        English
        arrow-up
        1
        ·
        40 minutes ago

        Yup. Also, in this case and many others, the reason they disabled the feature was to force people to use their “widgets”. i.e. see more ads.