Live data from Hacker News

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

notebookcheck.net

281–290 of 621 posts

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

#281

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.

Think about all the performance you could have gained by instead running Trillian and Winamp on an old Thinkpad next to you with even less ram

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

#282

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.

That doesn't take away at all from the complete absurdity of this level of bloat. How is it not 450kB? Fine, a few high res icons and multi language support, let's make it 4MB, because to do it in 1 would take skilled coders.

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

#283

Earlier quoted context omitted.

Depends on the app/framework but typically phantom threads don’t get started. Also, those stacks aren’t materialized until you write something - they’re all CoW’ed pages from a sentinel 0-filled page the kernel keeps around just for this purpose.

It's been a while, but I believe Windows initialises an internal thread pool & parallelises (some parts of) process start / module loading

You’re right. I hadn’t realized that Windows creates a hidden thread pool under the hood for parallelized DLL loading.

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

#285
post #89

Earlier quoted context omitted.

>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.

And sometimes your engineers need to be a LOT less stingy. 1GB is clearly overkill for an app such as this, but ~300MB is perfectly acceptable if it works well, looks good and does what it should do. There is such a thing as overdesign, but when you’re building a modern application, you must trust your designer’s sense of aesthetics and knowledge of UX patterns—two things engineers are often notoriously bad at.

You're off by 2 orders of magnitude if you think that a not completely incompetently coded weather app genuinely needs that kind of resources - even allowing for aesthetic choices and modern UX patterns.

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

#286
post #284

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.

Most of the RAM being "used" is available to be reallocated to something more important, should the need arise.

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

#287
post #89
post #54

Earlier quoted context omitted.

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…

>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.

Assuming the app even works - since we're talking weather, allow me to offer an XKCD

https://xkcd.com/937/

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

#289

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.

Some of us still know how to write software like that. And enjoy doing it.

I made a little conference schedule app a few weeks ago for a conference I was at. I used my own rust UI toolkit, which calls in to cocoa to make use of native UI components. The resulting binary is about 500kb and it uses a couple megs of ram while running. It looks and feels like a totally native iOS app. As far as the OS is concerned, it is.

Even 500kb feels too big for what it is. I’m rewriting the core at the moment, and I think it’ll be more efficient as a result. But I’m still pretty happy with it.

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

#290

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…

> Easy workaround for this

Wipe Windows from your machine. Use Arch Linux. Problem solved.

Post reply on HN