Hacker News new | ask | show | jobs
by antjanus 3033 days ago
how is it taking up that much data? I'm at 550mbs with 6 very active teams and while on voice chat. Dropped out of voice chat I'm at 340mb. Each team has 10-20 channels.

I also use Discord which uses Electron and with it, I'm on 8 separate active servers with anywhere from 10-30 channels. This sits at 115mb without an issue.

Can you tell me where these electron metrics come from where people have slack take up 1gb or even 2gb of memory?

3 comments

Every Slack workspace creates an Electron instance. If you're on three workspaces, that's like running three totally separate browsers.
More information about how Slack uses electron's Webview and BrowserView: https://slack.engineering/growing-pains-migrating-slacks-des...
What the hell?
That's not entirely right. Each workspace is an equivalent of a tab, not a browser.
> I'm at 550mbs with 6 very active teams and while on voice chat. Dropped out of voice chat I'm at 340mb

That's still a lot of RAM for a chat with giant emojis.

You have to consider that people reporting these issues with memory consumption are running the app in different operating system than yours. Maybe your system is optimized. I just checked my co-workers computer and his main Slack process is at +97MB but there are 3 instances of "Slack Helper" at +433MB, +297MB and +255MB respectively. That's over 1GB in total. So either you are just looking at the main Slack process (which at +340MB makes sense) or your Slack is leaking memory somewhere that your RAM monitor is not able to map.

I checked. I'm at 360mb for 8 separate Slack processes grouped together. I'm on Windows 10, not sure if that matters.

There are no Slack helpers.

I'm not sure why you're this adamant about it.

I still it's quite a good deal given that my Discord instance has a similar feature-set and is accessing just as many channels/servers/teams as Slack but at a third of the memory.

Back when I used Slack, I was on 8? different slack(s)? And my memory usage was around 1.5-2GB on OSX.
Sure! I remember those days. I'm on Windows 10 and over the past year, they've tremendously improved on memory usage.