Live data from Hacker News

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

notebookcheck.net

511–520 of 616 posts

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

#511

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 becau…

That's what the OS VMM subsystem provides... abstraction and management of the memory hierarchy to decide what RAM to use and what RAM regions gets discarded or swapped to/from disk.

If an OS were built entirely around a single instance of HiPE/BEAM similar to LING, it might be possible. For efficiency of apps, ditch GC where possible and use precise memory allocation. When that's not possible, use thread-local, immutable storage pools of objects like BEAM so GC can be concurrent and parallel. The messiest way is to do it like the JVM and other systems that throw all objects into a single pool and require pausing the world and expensive graph walks to clean up.

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

#512
post #472

Earlier quoted context omitted.

That's because programmers in 2006 didn't understand programming. They didn't understand how to make their software better . Real programming means writing your own javascript glue, pulling in hundreds of supply-chain-compromised js libraries that you never inspect or profile, and running the whole thing in a browser engine, while making sure to store all state in the cloud. The modern breed of programmers who don't…

rust programs are a lot of times faster and orders of magnitude safer than C and C++ counterparts... where is your data to support your assertion that rust programs use more resources than C and C++ programs?

Some programmers import a sarcasm library while others could write their own.

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

#513

Earlier quoted context omitted.

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

Our storage can transfer Gigabytes of data, do hundred thousand operations every second. The hardware is more than capable. If your software stutter when streaming few hundred KBs of data, it's on you.

Bandwidth and latency are two different things. The latency of handling things in system memory is still pretty different than the latency of handling stuff on SSDs.

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

#514

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.

I was replaying Xenoblade Chronicles on my Switch 2 and the whole time I was thinking about how this ENORMOUS, open world game originated on the Nintendo Wii, a console with only 88 MB of RAM.

Super Mario Brothers is none of that, but fits in a 40kB ROM and a few kB of RAM.

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

#515
post #181

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 component…

> It may be that the 662 MB used by the "Renderer" is shared between many Windows components From the screenshot in the article, this is the memory usage of the Renderer process spawned by the Weather App. I find it very unlikely that some other app (say, the Copilot app) can then piggyback on Weather Renderer process. Do you have a source for this? > killing that Weather app may not reclaim as much space Closing the…

I am not on Windows 11 so I can't really tell. And even if I did, I may be in a different situation than yours, we may not be running the same apps so what is shared can be different.

As for the "piggybacking" it is not really piggybacking, it is how shared libraries work (emphasis on the "shared"), aka. DLLs on Windows. For instance, if 2 to processes load "library.dll", it will be only loaded once, and the read-only parts of the library will be shared between the processes and it is one of the big advantages of shared libraries over static linking. A major part of the Weather app bloat comes from the browser engine it comes with, something many apps do today, and it would be reasonable to think that 2 apps using a browser engines have components in common.

Anyway, if you run Process Explorer and check the weather app process, it will tell you which is which.

This, by the way is a big reason why modern apps are often so bloated. The real problem is not just that so many apps are using browser engines or other huge dependency chains, it is that they all ship with their own version instead of using what is available on the system, so you have 10 different browser engines loaded in RAM even though a single one would be enough. Traditional Linux distros do it right, but now we have containerized application that break sharing. I understand the convenience, as you don't have to deal with shared library update that break the app, but the cost in both RAM and storage space is significant.

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

#516

Earlier quoted context omitted.

What inxi commnd shows a map of pollen concentration, weather alerts, and air quality? How do you generate a graph comparing this year's temperatures to the previous yeas' average climate? Comparing inxi to Windows Weather is like comparing vi to Autodesk. You can make 3d graphics for sure, but it's not exactly comparable. When I run inxi -w, I get this: Weather: Message: Error: Your access to this resource has been…

> Your access to this resource has been blocked. Do you have VPN enabled?

Nope. Getting the same error. On the very first usage.

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

#517
post #290

Earlier quoted context omitted.

> Easy workaround for this Wipe Windows from your machine. Use Arch Linux. Problem solved.

The most-difficult part of installing any Linux distro is getting the motivation to create the boot media . Luckily for Ubuntu (I'm running v26) you can use an old HD or USB and then [your flavor of LLM] to then walk you through the steps on how to make the media bootable (at least: that's what I did). I am a bluecollar electrician (yes, it took me a few tries; yes, I accidentally fucked up my first few OS's doing st…

Bootable media isn't that difficult. You need the right tool. Not sure what's current on Windows; I used Etchdroid recently. And you need a spare USB drive. That's the most annoying part. And you need to download the OS. And then you use the tool to put the OS on the drive.

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

#518

Earlier quoted context omitted.

The most-difficult part of installing any Linux distro is getting the motivation to create the boot media . Luckily for Ubuntu (I'm running v26) you can use an old HD or USB and then [your flavor of LLM] to then walk you through the steps on how to make the media bootable (at least: that's what I did). I am a bluecollar electrician (yes, it took me a few tries; yes, I accidentally fucked up my first few OS's doing st…

Agree with this. As much as Ubuntu is derided for several reasons, it just works. I tinkered with different distros for years, and while it was super fun, I wasn't very productive. Ubuntu and Fedora are the only distros where stuff just worked for me.

I've been using Ubuntu since around the time you needed an invite to create a Gmail account. Back then it was a breath of fresh air, because the install was batteries-included and Canonical's help forums were genuinely useful.

Ubuntu is bloated now but still just about OK despite:

* Snooping on users. * Forcing people to install Snaps. * Relentlessly promoting systemd, which turned out to be a giant mistake. * Pointless fiddling about with the desktop in every release. * Canonical having a universe-class egomaniac for a CEO, even by South African tech-billionaire standards.

But if Ubuntu has been treading water for 25 years, that represents an improvement over the titanic disaster that is Windows 11, and the walled-garden den of developer hostility that is Apple.

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

#519

Earlier quoted context omitted.

you sound sarcastic

No /s so I wouldn't know.

it's not as dead-pan with an /s

imhho, I prefer the ambiguity, the increased hilarity, the increased mental work of considering whether a statement is in good faith or being sarcastic/sardonic, the opportunity to understand how people can be hurt and the motives of barbs and lashes and how to discern the distress and deeper needs of "violent" people, and eventually the remembered insights on how to better generate boundaries and equanimity

in the way of Buddhist psychology, phenomenological bracketing, non-violent/compassionate communication, Brechtian principles, deconstruction, clowning, DBT, etc

lol

though I know this doesn't scale to situations without a boundary, where you can get abuse just for existing. I would use /s in a commons that expects a higher standard of good faith/well-being interactions

(does thoroughly confusing or disrespecting people for a jape equate to an abuse? how much of memeing is not just legal but moral? these are rhetorical questions, you are allowed to save your mental labour on this for yourself, self-care is prime, though I hope you all have a appropriate levels of support)

Stuart Lee is my favourite comedian, they are masterful in playing with this

https://youtu.be/5S9QJXa5YP8 - Stewart Lee deals with audience latecomers (Basic Lee)

https://youtu.be/EclpMn-mK5E - Stewart Lee HITS OUT At Audience Behaviour (Basic Lee)

https://youtu.be/NtFJ1HT3gto - Stewart Lee on Stewart Lee fans (Basic Lee)

https://youtu.be/TrkPNwSRxtM - Stewart Lee on his Audience (Content Provider)

shout out to the somewhat similar subtitles use of: (!)

p.s. as an alternative to Windows, I always recommend folk use KDE, and a distro based on Arch btw

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

#520
post #483

Earlier quoted context omitted.

AI does this when it's not warranted, and even happily writes two functions with the same purpose.

Forty functions with the same purpose are still better than importing react.

What do you mean my hook to dynamically build input your username here with inline CSS is worse than using ? All I need to do next is to listen to form submit to build a new formdata object to POST to the server. Easy!
Post reply on HN