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

435 points - yesterday at 3:11 PM

Source

Comments

ndriscoll yesterday at 5:02 PM
My gaming PC that 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.
GuB-42 yesterday at 8:09 PM
Putting aside the fact that it is horribly bloated. Accurately measuring RAM usage is tricky, there are several measurements, and no "right" one.

It is clear from the article that what eats up so much RAM is not the weather app itself but the framework it runs on. There is a "Renderer", a "GPU Process",... eating most of it.

The thing that the task manager doesn't tell you is whether or not these are shared components. It may be that the 662 MB used by the "Renderer" is shared between many Windows components, so killing that Weather app may not reclaim as much space as you may hope, instead, it would require killing every user of the component, some may be core system apps.

In addition to the distinction between private and shared memory, there is also the distinction between actual RAM usage and and virtual memory. It is possible for a process to memory map a 100 GB file. If you look at the address space, it will take 100 GB more of virtual memory, even though it may be actually zero physical RAM, but it is not always zero either, the parts of the file that are currently accessed take up some space, which may later be reclaimed by the OS by committing the page to disk.

Even the most obvious "I do a big malloc()" kind of memory use is not that obvious, the OS can overcommit, put stuff into swap, use memory compression, etc... And it can do that even if the system is not overloaded, as to make more space for the disk cache for instance.

So seeing "1 GB" in the task manager is just a vague hint of how it may affect performance. And not all "task manager" tools give the same value for the same program (so Windows vs Mac may be misleading). "Process Explorer", a more advanced version of the Windows task manager can give a lot more details, with different values of memory usage depending on what you are looking at.

SBArbeit yesterday at 6:30 PM
Easy workaround for this:

1. Install uBlock Origin in Edge.

2. Start Edge, browse to MSN Weather.

3. Click the "Add an Application" button in the address bar to get a Start Menu icon for the page.

4. Delete the in-box Weather app icon.

Now you get the same Weather app in about 130MB of RAM, with no ads. It's not as nice as a native app, of course, but it's 1000% better than the useless ads and MSN feed that you can't block from the built-in Weather icon.

(Also, go into Widget settings and turn off "Discover / Microsoft Start feed". Same crap, different surface. Get rid of it.)

mrheosuper today at 1:59 AM
As embedded guy, sometime i wonder what those web devs are doing. A simple app that consumes multiple magnitude more RAM than the entire system i usually working with(~1MB). I assume it just does some HTTP query and render it on the screen, why the heck 1GB of RAM ?
ed_mercer today at 12:03 AM
They're pointing to macOS and saying it uses 5 times less RAM there, but is 230MB for a weather app really something to be proud off?
cogman10 yesterday at 6:16 PM
As time goes on, I become more and more convinced that OSes need some sort of OS level GC pool which all GCed languages play in rather than having the language runtime provide the GC.

A major part of why these sort of simple applications are taking gbs of memory is because the GC wants to simply grow as much as it can to avoid pauses/jank. There might be 10% of the memory which is actually live in that 1gb. But because it allocates fast enough, the extra headroom is needed.

Even if it isn't the case that the GC is universal, having a shared GC amongst runtimes would be a boon in general. If I have 3 JVMs running, I might give them all 1gb of memory even though really each of them only needs 200mb to get their job done. The extra headroom is for when a burst happens. If I could combine all 3 into 1, I could save a lot of allocation overhead and general memory.

This does sort of exist in java (war deployments), but there are limitations that make it unappealing. For example, each of the JVMs have to be the same version.

firefoxd yesterday at 5:02 PM
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.

itopaloglu83 yesterday at 4:29 PM
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?

d5lt5 today at 4:00 AM
In Windows group there used to be a review where you had to tell the board why the module you try to merge into main branch moved the baseline up by 100KiB.
rgmerk today at 2:29 AM
It will be interesting to see whether OS and application developers start to face commercial pressure to debloat their applications.

For operating systems and their bundled applications, Apple's integration is an advantage here; the OS designers work for the hardware company and have aligned incentives. That doesn't mean they necessarily align with their customers, just that they are internally aligned.

Microsoft...do they even care about the snappiness of Windows desktops any more?

eviks yesterday at 4:55 PM
> 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?

hadrien01 yesterday at 10:26 PM
What's worse is that the previous version of the same Weather app was fully native on Windows 10. Why would you take a perfectly working app and downgrade it like this?
iamcoder18 yesterday at 4:14 PM
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.
w4yai yesterday at 5:02 PM
Please, Microsoft, PLEASE ! You can do BETTER ! Stop acting like an internship for every single feature you add ! Where's the money going ?
userbinator yesterday at 7:51 PM
After seeing https://news.ycombinator.com/item?id=49226923 show up here, I'm now hoping someone will vibe-code a nearly identical-looking native app that takes a few orders of magnitude less RAM.

Personally I just use my government's website when I need to check the forecast.

feverzsj yesterday at 4:24 PM
It's just msn weather page. Can't they use one single browser for all their apps instead of one per app?
CrimsonCape yesterday at 5:30 PM
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.
sasaf5 today at 3:03 AM
Windows 11 is what made me switch back to dual booting, after 4 years being content with WSL. Everything is slow, everything's GUIs have two versions and it nags endlessly for a "Windows Account".
hyperhello yesterday at 4:32 PM
I would like to be assured that the author knows the difference between actual memory and setting aside paging space.
eisbaw yesterday at 9:27 PM
Why does everything turn into a browser
kmfrk yesterday at 6:35 PM
Shame, because it's genuinely a great map - ahem, optimizations aside.

I remember giving the app a second chance - after assuming it to be bloatware next to all the other default apps that came with Windows - but after seeing it redeem itself in benchmarks[1], I gave it a shot and quite like it. The iOS app was too rubbish to bother with, though.

I'm curious what could options there are for decent predictions. Especially with Dark Sky never having been much of an option for Europe. I see some of the people behind it have a new subscription-based iOS app to try, though: https://acmeweather.com/app.

Do people have any desktop weather apps that strike a nice balance between decent code and actually useful predictions? Future weather's likely to be anything but boring, unfortunately.

[1]: https://forecastwatch.com/awards/2026/

frogperson today at 2:04 AM
The only good thing that might come out of these extreme memory shortages is forcing careless developers to actually care about resources for once.
alkonaut yesterday at 6:15 PM
I wonder if this is a fair calculation including the fact that multiple WebView apps should be sharing the same libraries in memory.

If you pay 0.5-1GB to load the edge/chromium libraries but that memory is amortized over N different apps the user is likely to run, then the ”1GB for the weather app” is an unlikely worst case.

smileybarry yesterday at 11:19 PM
I don't want to "akshually" this, but on a stock[1] up-to-date Windows 11 x64 25H2 (aka: my desktop) Weather takes up around ~670MB of RAM at launch, not 1GB. While writing this comment it dropped to 450MB. All in all much lower than 1GB.

1: i.e.: not "debloated" or running a bunch of random customizer scripts.

matteoraso yesterday at 9:20 PM
RAM consumption has gotten crazy over the past couple of years. Consumers need to start calling software devs out for this, especially when there's such a severe shortage of RAM.
hokkos yesterday at 4:59 PM
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
senfiaj yesterday at 7:43 PM
Dwedit yesterday at 7:20 PM
This is what happens when you start a separate instance of Chromium everywhere.
dxxvi yesterday at 11:46 PM
Is Chris Titus's tool able to remove the built-in Weather app (I haven't had a Windows machine with admin right for too long to remember that)? If yes, do we see 1 more GB of RAM free after running that tool?
polyterative yesterday at 10:08 PM
I am using AI to rewrite every proprietary driver/companion soft I had still running on my Mac system.I am using 5/10% of the original application's RAM.I am getting more features.My background RAM usage halved after converting many of them to my own versions.
bullen yesterday at 11:28 PM
Why does Windows 10 use 10GB of RAM if you have a total of 32GB?

And how come you cannot pretend to only have 4GB to make it use less?

I don't care about how slow the OS becomes, I care about software not crashing.

TacticalCoder yesterday at 5:37 PM
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.
mrloopex today at 2:07 AM
Attention Hacker News: you are literally the people writing this code and these frameworks.

Get your shit together and be the change you want to see. Or stop whining.

cromka yesterday at 6:35 PM
I seriously wonder if the recent migrations between languages mande by major projects leveraging SOTA LLMs have started a new trend of a) making native apps more common, as opposed to Electron and stuff b) will help to optimize existing apps and remove the bloat.

The alternative is, of course, that most apps will end up being bloated even more specifically because of how we'll slowly transition into developing using LLMs only.

ModernMech today at 3:10 AM
The memory isn't even the worst part, on my laptop it takes up to 30% of the 8 core 4 GHZ CPU. Anytime I'm browsing and my fans start blowing like a lawnmower, it's because I forgot to close my weather app and it's just blasting away at the processor. Doing what, I don't know... probably spyware in one of the insurance ads on the side?
deleted today at 12:17 AM
cherryteastain yesterday at 10:27 PM
For comparison, the GNOME Weather app takes 80MB.
drtournier yesterday at 4:52 PM
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
dude250711 yesterday at 5:26 PM
Thanks, React and friends.
calini yesterday at 5:16 PM
The Weather app in Windows is more ads than weather, so it checks out.
rahulmax yesterday at 5:50 PM
"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.

strong-self yesterday at 6:54 PM
i used WKWebView highlightr wrapper around highlight.js for syntax highlighting on iOS, and the webview was the biggest memory line in the app
i-e-b yesterday at 5:16 PM
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.
dietr1ch yesterday at 5:06 PM
At some point you just got to be amazed at it and celebrate.
sciencesama today at 3:11 AM
how to disable it ?
rdedev yesterday at 5:05 PM
How much does rainmeter take? I used to load tons of widgets on it in my old laptop. Ahh those were the days
3dedb728-3f77 yesterday at 8:08 PM
What if we make all these apps obsolete with < 1mb options.

100 tools < 100mb.

Wowfunhappy yesterday at 4:35 PM
...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!

jaimex2 today at 2:16 AM
Microslop strikes again
gruturo yesterday at 11:25 PM
In the era of coding with frontier LLMs, it should take Microsoft 20 junior engineers, a couple seniors, a token budget and a month or two to fix most of this shit by building lean, native apps. Given that they can obviously spare this kind of resourcing, I truly wonder why they won't. Not that I give a crap - removed the last windows machine from my home ages ago at this point.
Zopieux yesterday at 11:04 PM
What's the status on automatic debloating (non interactive) scripts for Windows these days? With vibe coding I'd expect hundreds of those to exist by now. Something everyone would run after a clean install, to revert, disable or uninstall all the stupid defaults and enshitifications Microsoft added in the past decades.

Anyone can recommend one of those?

UltraSane yesterday at 10:01 PM
I have 64GB of DDR5 Ram and a 64GB pagefile on a pcie 5 SSD and window 11 still runs like crap.
undebuggable yesterday at 6:06 PM
An app which could have been a website.
Razengan today at 12:11 AM
In the 10+ years since I stopped using Windows, every time I hear news about Microsoft I never see a reason to not be glad of leaving :)
baist0 yesterday at 6:49 PM
This is what traditions mean!
pharos92 yesterday at 8:55 PM
I likely unfairly judge (at a high-level) code security based on how much system resources applications waste. If your app, or OS uses that much resource to perform simple operations then you clearly lack understanding of what the code is doing. How then can I expect it to be secure?
pixel_popping yesterday at 6:08 PM
Anything above 50MB RAM for this is shameful imo and reflect poor engineering.
roflburger today at 12:46 AM
Electron apps use lots of ram, news at 11.
mlvljr yesterday at 9:10 PM
[dead]
MemoryHoleHQ yesterday at 11:00 PM
[dead]
trashface yesterday at 5:24 PM
I'm sure the memory pages compress well /s