Live data from Hacker News

Ask HN: Why does Slack App on macOS drain 3GB of memory?

news.ycombinator.com

51–60 of 64 posts

Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?

#51

to be fair, this is not an electron issue as vscode runs fine on all platforms. I don't really want to bash the devs but... Maybe they should take a look at it.

VS Code is by far the best optimized Electron app I've seen, but with a total of 5 files open, it will still turn my laptop into a pizza oven on my lap. It, and every JS/Desktop hybrid has so much promise, but my Lord, as a proficient JavaScript junkie that has a deep abiding love for the language, it's not performant. I just can't use either Atom or VS Code for day to day work. PS, Sublime, please support some form…

they have plenty JavaScript plugins which functionality are you missing?

Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?

#52
post #38

to be fair, this is not an electron issue as vscode runs fine on all platforms. I don't really want to bash the devs but... Maybe they should take a look at it.

I have vscode open with a relatively small project here, and excluding the CPP tools it sits at about ~500M used. If I include the CPP tools it's about ~1.5GB. Not as bad as Slack, but I wouldn't call it 'fine' considering that it's just an editor.

For comparison, QtCreator with I'm using right now in one session for a few days, with a full-blown set of C++ tools integrated, consumes 319.1 MB RAM + 140.3 MB RAM for clangbackend. That's less than 500 MB for a complete solution with code analysis, debugger, profilers, form designer and even some QML stuff.

Slack, which is idling in the background in just one organization, consumes 22 MB more than QtCreator :P OTOH, there's also a full-blown IRC client Konversation, connected to 2 servers and 42 channels total, consuming 80.6 MB.

Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?

#53

Earlier quoted context omitted.

VS Code is by far the best optimized Electron app I've seen, but with a total of 5 files open, it will still turn my laptop into a pizza oven on my lap. It, and every JS/Desktop hybrid has so much promise, but my Lord, as a proficient JavaScript junkie that has a deep abiding love for the language, it's not performant. I just can't use either Atom or VS Code for day to day work. PS, Sublime, please support some form…

they have plenty JavaScript plugins which functionality are you missing?

I mean supporting it as the language in which the plugin is written. If there are plugins that are doing that, let me know, I'll be googling that all day today.

Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?

#54
post #43
post #40

Earlier quoted context omitted.

https://www.qt.io/mobile-app-development/

That's QML, which isn't that different from a browser rendering engine. I'm talking about an actual native UI implemented in native code, not a weird quasi-browser. Of course Qt itself also has quasi-browser features like its style sheet widget styling stuff. If we're going there, why not just use HTML5/JS which has a million billion times more support? Also C++ is not really the best option. I code systems software…

Aren't good old QtWidgets supported just fine on Android and iOS, just like they were on Maemo and even Symbian?

Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?

#55
post #43

Earlier quoted context omitted.

That's QML, which isn't that different from a browser rendering engine. I'm talking about an actual native UI implemented in native code, not a weird quasi-browser. Of course Qt itself also has quasi-browser features like its style sheet widget styling stuff. If we're going there, why not just use HTML5/JS which has a million billion times more support? Also C++ is not really the best option. I code systems software…

Aren't good old QtWidgets supported just fine on Android and iOS, just like they were on Maemo and even Symbian?

Even if this were true it would look and feel horrible like old Windows Mobile with its tiny start menu and desktop apps you had to peck at with a stylus.

Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?

#56
post #55

Earlier quoted context omitted.

Aren't good old QtWidgets supported just fine on Android and iOS, just like they were on Maemo and even Symbian?

Even if this were true it would look and feel horrible like old Windows Mobile with its tiny start menu and desktop apps you had to peck at with a stylus.

As a heavy user of QtWidgets (and GTK+, FWIW) apps on Maemo even today, I can say that's entirely not true.

Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?

#59
post #4

104 MB at the moment. For me at least, Slack really got their shit together sometime last year and improved the issue significantly. I still remember having to restart Slack twice a day, but it ain't issue anymore.

I have 3 slack orgs I'm signed into and macOS claims its using 100mb.

I admit I don't really pay attention but I've never noticed Slack using crazy amounts of memory.

What am I doing right?

Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?

#60
post #4

104 MB at the moment. For me at least, Slack really got their shit together sometime last year and improved the issue significantly. I still remember having to restart Slack twice a day, but it ain't issue anymore.

Yup, for me according to Activity Monitor: 107MB, and Compressed Memory 20MB.

Part of 6 organizations.

Running High Sierra.

Post reply on HN