15

I just love how single instance of electron app consumes ~600mb of my laptop memory.

My fucking Jetbrains IDE can do nearly anything, is written in a goddamned monstrous java, with shitload of indexed files and consumes only 1gb.

What must be done to make those spoiled shitfuckers stop use that crap?

Comments
  • 1
    Ok, I guess it’s impossible to change category even in the first 5 minutes... fuck this shit
  • 4
    What bothers is that people somehow don't mind that and "everyone" accept the situation. Have you seen how much the new Steal version consumes? (It's not made with Electron but uses parts of Chromium AFAIK).
  • 2
    I always wonder what makes it so resource intensive. Is it the V8 engine?
  • 6
    "we should make a new, small and faster framework" is always the answer
  • 1
    @Jilano I've been using it since June and have had 0 performance decrease.
  • 1
    @SevenDeadlyBugs both VS Code as Rider use the same amount of RAM on the same project. VS Code is written in electron. If it's slow its the devs mistake not the framework.
  • 3
    @asgs it's the devs. VS Code is not that heavy but is written in electron.
  • 4
    @Jilano it’s 100% businesses fault, greedy motherfuckers tried to make desktop app development cheaper so they just thrown all the shittiest, cheapest technologies together... And now all consumers are doomed. I feel like actually making a copy of each electron software, but in the correct way could make a good competition, well, at least in dev niche.

    @asgs It’s not just v8, it’s a whole webkit engine too, devtools and all other shit... And then decades of effort to make those engines efficient as possible to load websites (not desktops).

    @Hazarth but there is already. The problem is they want javascript everywhere.

    @Codex404 vscode is supposed to be an lightweight editor, and you’re comparing it with an full-featured IDE, it’s not acceptable memory consumption then.
  • 0
    @Codex404 I don't think you'd notice if you have an okay PC, but I don't see why it should use more resources for the same thing. In addition, they removed the small/compact mode option (thankfully you can get that back through the launch parameters).

    @SevenDeadlyBugs That and people only knowing web development but claiming they can make "native apps".
  • 0
    @SevenDeadlyBugs I have a shitton of plugins in it. For me they have the same features for C# projects.
  • 0
    @Jilano I regularly check the resource usage. There was really no difference. Before the beta came officially I only had 4GB RAM in my PC 7 year old PC, I would have noticed it with 500+ games in my library.

    I am not saying the performance stayed the same, I am saying it is not as bad as some people are saying. A year long people were using the new design without issues. If someone has problems with their 12 year old PC I don't think you can blame the devs especially with the amount of new features added.
  • 0
    @Codex404 That's a fair point. Considering I'm just using Steam to lunch games (I would use a DRM free version if it were possible), I don't care about the embedded browser or anything else. So I'm more than happy to reduce its usage to 50MB or so!
  • 3
    @SevenDeadlyBugs Electron consumes less than 50 MB RAM on its own, and not a single Electron app on my computer uses more than 100 MB RAM unless I intentionally increase the load by, say, opening all my projects at once and running 5 debugging servers in VS Code. And even then, it uses less than 20% RAM Jetbrains IDE uses under the same load, yet it does more than 20% of what Jetbrains IDEs do.

    It's simply not V8 or Electron's fault. It's the fault of people who learned JS in their free time, didn't get any formal software development education, and love REDUX because keeping all app state in memory all the time is simple to understand, and online courses didn't teach them anything about scalability or performance.
  • 1
    @hitko don’t throw that bullshit at me. I have slack and teams running on my mac at all times, at the time of writing they both consume slightly more than 1gb of ram. For curiosity I just started vscode and opened my project, consumption - 600mb.

    I think, what you talking (ram <100mb) is those little electron core processes, yeah those are small, but then it spawns shitton of helper creeps, that adds up to the whole picture.
  • 2
    @SevenDeadlyBugs Slack uses more RAM than Messenger, Discord, or a goddamn photo editor, and they're all using Electron.
Add Comment