this post was submitted on 09 Dec 2025
759 points (98.2% liked)

Technology

77096 readers
4168 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 
  • Windows Latest discovered Discord and other Chromium and Electron-based applications with high RAM usage
  • RAM usage spikes from 1GB to 4GB on Discord both in and out of voice chat
top 50 comments
sorted by: hot top controversial new old
[–] baconsunday@lemmy.zip 8 points 1 day ago (3 children)

Join Linux, ditches windows

[–] BlueMagma@sh.itjust.works 2 points 1 day ago (1 children)

I'm using Linux on all my pc. The ram problems exist here too. Firefox is taking the most, the slack app is taking a big chunk too. Linux is not exempt from badly written code, it's everywhere and nobody seems to care about optimizing their code's memory usage anymore.

[–] baconsunday@lemmy.zip 1 points 1 day ago

I would be interested in seeing how you have it set up that firefox or linux are using any substantial amount of ram. That wouldn't have anything to do with 'badly written code'.

[–] RickyWars@lemmy.ca 4 points 1 day ago (2 children)

Well I mean linux has electron apps too

[–] baconsunday@lemmy.zip 5 points 1 day ago

Correct! The difference is the OS.

Windows is a ram hog. Using 4GB or more just to exist. Linux uses 1-2GB, sometimes less.

Microsoft FORCES electron web components.

Linux has choice.

So yes, linux has electron as well, but Linux is a lot lighter and nowhere near a hog like windows.

[–] bigfondue@lemmy.world 1 points 1 day ago

It does, but you can stick to IRC instead of Discord for example

[–] Psythik@lemmy.world 2 points 1 day ago* (last edited 1 day ago) (1 children)

I will once Nvidia gets off their asses and properly implements support for the Nvidia App in Linux. I've tried the alternative control panels for Nvidia GPUs. They suck.

[–] baconsunday@lemmy.zip 2 points 1 day ago

Don't remind me, I am high on copium right now. I can't even play any of my steam games, but I have my Miyoo Mini+, so I'm surviving haha

[–] bitwolf@sh.itjust.works 14 points 2 days ago

cough Windows START MENU cough cough

Electron is a f…ing cancer for Desktop

[–] Meowie_Gamer@lemmy.world 5 points 1 day ago

This isn't news lol

[–] floofloof@lemmy.ca 170 points 3 days ago* (last edited 3 days ago) (20 children)

If there's any silver lining to this, perhaps we can get a renewed interest in efficient open-source software designed to work well on older hardware, and less e-waste.

[–] Reverendender@sh.itjust.works 79 points 3 days ago* (last edited 3 days ago) (2 children)

Morgan Freeman: ”They couldn’t”

I wish we could, but it’s tough to maintain optimism in the face of these sociopathic corporations’ seemingly ever-growing power

load more comments (2 replies)
load more comments (19 replies)
[–] xthexder@l.sw0.com 28 points 2 days ago

Windows Latest discovered Discord and other Chromium and Electron-based applications with high RAM usage

Lol, this is news? Where have they been the last 15 years?

In other news, the sky is blue.

[–] UnderpantsWeevil@lemmy.world 33 points 2 days ago (3 children)

I remember how the combination of Internet mass distribution of file data and the blossoming gray market for file-share applications really super-charged the technology of file compression.

I wonder if we'll see skyrocketing RAM prices put economic pressure on the system bloat rampant through modern OSes.

load more comments (3 replies)
[–] _cryptagion@anarchist.nexus 131 points 3 days ago (3 children)

I really wish Electron wasn't as popular as it is. It's such a fucking memory hog. I mean, sure, I've got RAM to spare, but I shouldn't need that much for a single app.

[–] cmnybo@discuss.tchncs.de 59 points 3 days ago (5 children)

Yes, it runs a separate browser instance for each electron program. Many of the programs that use it could just be a PWA instead.

[–] lastweakness@lemmy.world 49 points 3 days ago (1 children)

This is what bothers me so much... Browsers should be improving their PWA implementation (looking at you, Firefox) and electron apps should be PWAs more often. Another decent middle ground Is Tauri. SilverBullet and Yaak are both so much lighter and better than anything else on my system.

[–] Pechente@feddit.org 39 points 3 days ago* (last edited 3 days ago)

Yeah but companies want full control and no ad blockers. That’s why they’re pushing shoddy Electron apps over their web experiences and PWAs.

[–] SaraTonin@lemmy.world 4 points 2 days ago

Or, even better, let’s start developing for separate platforms again, and optimise software for the platform that’s going to be running it. Rather than just developing everything for Chrome.

load more comments (3 replies)
load more comments (2 replies)
[–] SomeRandomNoob@discuss.tchncs.de 14 points 2 days ago (1 children)

Just for reference: My Current cpu (5700x3d) has more cache than my windows 98 computer had ram. And win98 wasn’t that bad.

It is amazing how bloated software has gotten. Used to be, your computer's OS fit on a floppy diskette.

[–] GnuLinuxDude@lemmy.ml 57 points 3 days ago (3 children)

The proliferation of electron programs is what happens when you have a decade of annoying idiots saying "unused memory is wasted memory," hand-in-hand with lazy developers or unscrupulous managers who are externalizing their development costs onto everybody else by writing inefficient programs that waste more and more of our compute and RAM, which necessitates the rest of us having to buy even better hardware to keep up.

load more comments (3 replies)
[–] Kissaki@feddit.org 39 points 3 days ago* (last edited 3 days ago) (2 children)

I guess the prices give us a new kind of issue ticket template; "new RAM is too expensive for me, please consider optimizing"

Less abstract, more concrete than "take less of a share please"

load more comments (2 replies)
[–] kalpol@lemmy.ca 21 points 2 days ago (5 children)

And here I am resurrecting Dell laptops from 2010 with 1.5gb DDR RAM and Debian

load more comments (5 replies)
[–] BlueBockser@programming.dev 26 points 3 days ago (3 children)

Yeah, the RAM shortage is definitely to blame on Electron. Won't someone please think of the poor AI companies who have to give an arm and a leg to get a single stick of RAM!

[–] floofloof@lemmy.ca 5 points 2 days ago

I wouldn't mind so much if they were giving their own arms and legs, but they seem to be giving ours.

load more comments (2 replies)
[–] rdri@lemmy.world 7 points 2 days ago (2 children)

Thank Google for those cool products.

[–] Quill7513@slrpnk.net 4 points 2 days ago (2 children)

what's google got to do with it? this is an article about a product develeped at GitHub (now a microsoft subsidiary) causing problems with Windows and the thumbnail is showing produts from the following companies:

  • facebook
  • discord
  • microsoft
  • microsoft
  • microsoft
  • microsoft

like. look. i hate google. they partner with israel to conduct genocide (don't use waze, btw, or better yet, don't use any google products). but this seems like not looking at the whole of how evil all of big tech is just to focus on how evil one company in big tech is

[–] rdri@lemmy.world 3 points 1 day ago* (last edited 1 day ago)

The article mentions Chrome/Chromium: 9 times
The article mentions Google: 0 times

Google made Chrome. Chrome had that multi-process architecture at its core which allowed to consume as much memory as needed even on 32-bit OS. Chromium was always inside it and open source. Then they created CEF, which allowed webdevs to build "real" apps, and that opened the floodgates. Electron was first built on it but they wanted to include Node and couldn't because it required too much experience in actual coding. So they switched to Chromium. It didn't change much in the structure, just basically invited more webdevs to build more "real" apps (at 1.0 release Electron advertised hundreds of apps built with it on its website).

Google could do something about how the web engine works in frameworks (that don't need that much actual web functionality), but didn't. They invited webdevs to do anything they want. Webdevs didn't care about security because mighty Google would just publish new Chromium update eventually. They never realized they don't need more security in their local "real" apps gui that connect to their websites because there is not much room for security danger in such scenarios. They just always updated the underlying engine because why not. Chromium dll is now at 300 mb or something? All of that code is much needed by everyone, is it not?

So, for me the sequence was always seen as this:

Google (caring about webdevs, not OS) ->

Webdevs (not caring about native code and wanting to sell their startup websites by building apps) ->

Reckless web development becoming a norm for desktop apps ->

Corporations not seeing problems with the above (e.g. Microsoft embedding more stuff with WebView2 aka Chromium)

So yes, Google has everything to do with it because it provided all the bad instruments to all the wrong people.

Personally, I don't care much about hating Microsoft anymore because its products are dead to me and I can only see my future PCs using Linux.

[–] Turret3857@infosec.pub 4 points 2 days ago (1 children)

CoMaps is a good alternative to Waze. If you think it isnt make an OSM account and help make it a good alternative :p

load more comments (1 replies)
[–] zaphod@sopuli.xyz 5 points 2 days ago (1 children)

Electron was originally developed by GitHub for a text editor called Atom.

load more comments (1 replies)
[–] Blackmist@feddit.uk 44 points 3 days ago (1 children)

I wouldn't mind them all using HTML for UI if they'd learn to share the same one, and only load it when they need to show me something.

No, Razer, your "mouse driver" does not need to load Chrome at all times, when I'll only ever look at it once.

[–] A_norny_mousse@feddit.org 34 points 3 days ago

No, Razer, your “mouse driver” does not need to load Chrome at all times, when I’ll only ever look at it once.

It's funny; on Linux such devices work perfectly but many users complain that they "aren't supported" because there's no UI (that sits uselessly in your notification area and eats memory).

[–] anon5621@lemmy.ml 67 points 3 days ago (2 children)

Miss times when 4 gigs of ram was more than enough for browsing and playing game at the sane time

[–] FalschgeldFurkan@lemmy.world 1 points 1 day ago

cries in 8gb RAM

load more comments (1 replies)
[–] SlartyBartFast@sh.itjust.works 28 points 3 days ago (5 children)

Limitation breeds innovation

load more comments (5 replies)
[–] M33@lemmy.sdf.org 14 points 2 days ago (1 children)
[–] PieMePlenty@lemmy.world 5 points 2 days ago

They only have DDR4 :/

[–] ExLisper@lemmy.curiana.net 31 points 3 days ago (5 children)

It's because people want cross-platform apps and web is the easiest way to do it. Yes, you have Flutter, KML or Qt but those are often hard to work with (looking at you, Flutter) or it's difficult to find devs that can work with them. You choose web (JS/wasm) and you have plenty of devs familiar with the tools and you can support all the platform easily. I'm using Tauri for my personal projects because it's fun and easy. I could use Qt but I don't want to work with C++ or Python, at least not in my spare time. If anyone can recommend me a nice framework supporting Linux and Android and using modern language I might switch. I haven't found one.

[–] mfed1122@discuss.tchncs.de 1 points 1 day ago

Yeah I just can't stop getting ragebaited by the Electron hate. All Electron haters are free to develop their own efficient, pleasant looking, cross-platform native app instead since it's so easy

[–] Croquette@sh.itjust.works 28 points 3 days ago

It's because there is no such thing as optimisation anymore. Websites are bloated to the gills with terrible animations and tracking scripts.

[–] A_norny_mousse@feddit.org 31 points 3 days ago* (last edited 3 days ago) (10 children)

It’s because people want cross-platform apps and web is the easiest way to do it.

Just use the website then? There already is a suitable browser installed on every system. But no, must have apps. Makes it easier to stop people from having opinions about data collection and such. And the full browser stack needs to be fully reproduced each time. It gets really ridiculous when these apps sit idly in the notification area. Not to speak of security implications because electron apps and such usually don't get timely updates.

load more comments (10 replies)
load more comments (2 replies)
[–] JoMiran@lemmy.ml 46 points 3 days ago (3 children)

I normally reply with a tux penguin but, is it really a Windows problem if the it's the apps that aren't optimized for shit?

load more comments (3 replies)
load more comments
view more: next ›