Where's All My CPU and Memory Gone? The Answer: $5B Worth Slack App (medium.com)
Slack, valued at $5 billion, has received buyout pitches from several companies including Amazon and Microsoft. But the team collaborations service, which has over 5 million active users, continues to offer one of the most resource intensive apps you could find on Mac and iOS. From an article: TLDR; If you care about battery life or availability of your finite CPU and memory on your computer, then you probably won't want to use Slack desktop with more than one or two accounts. Slack resource usage increases linearly as you add more accounts, and it quickly adds up. [...] I noticed that my machine has been sluggish and its battery life has become poor. Whilst investigating this, it turns out that Slack desktop fails badly when used with multiple accounts. This is because CPU and memory usage increases linearly as you add more accounts to your Slack desktop client. As a result, I believe the growing trend to use Slack to be part of multiple communities is seriously flawed until Slack resolve this problem. The author, Matthew O'Riordan, has shared screenshots of Activity Monitor which shows that Slack application on his Mac was consuming more than 1.5GB of memory, and as much as 70 percent of the energy. The company's iOS app instills several more issues.
Norton and McAfee can use more cpu they should buy this!
After all, Slack is originally based on IRC. And IRC is very resource-intensive. It would be difficult to make an IRC-based chat client that doesn't tax the system.
A while ago I tried to be in a larger facebook group and having more than one window open would grind my machine to a halt. Every single tab wanted it own Ajaxy Chat GUI.
Slack should have just made a pretty GUI on top of the existing IRC protocol. I remember being able to be in dozens of chat rooms on a machine less powerful than a RaspberryPi.
We have to use Slack at work (because people that think it's cool said we do), and it's such a resource hog it isn't funny. I've disabled every feature and blocked animated images and it's still annoying.
You can connect with pidgin if you want a semi-functional version of it, but the XMPP support is missing critical things, like when someone opens a new group chat with you (you won't see it).
I would love for it die, but I know that won't happen.
Fide Wikipedia:
The beginning does promise lots of memory usage already...
IRC is never going away.
Don't use Slack. There are countless chat applications available, including free and open source ones. Most of them are not resource intensive.
This isn't even a matter of it being a bloated web app on Electron. It's just a badly written bloated web app on Electron.
and thought something bad and corporate happened to Slack aka Slackware.
by TheSpoom (715771) Uncaring Linux user here. I have nothing to add to this but please continue. *munches popcorn*
The number one application by resource usage on my system is Microsoft Teams. I don't know why these chat programs are so poorly written.
The problem: Modern coders get taught hipster programming languages instead of traditional programming languages that were made back when there was memory conservatism in place.All programmers that know document.write() as their first hello world should be replaced by those who learned printf() instead.
A company worth $5B can still offer shitty software??? Quick, tell Microso....oh wait, they already tried to buy them....
i hate slack. It copies to the machine like your entire history in every conversation, including all media. Most people here, there appdata slack folder is like 1.5gb and growing all the time. And we have only been using the software for a year, when someone decided that we had to adopt this fad.
And its all just animated gifs and useless other crap.
I hate slack, and i dont understand why people can't just use email for communication. Instant messaging made sense in the days of ICQ when email servers often took 15 minutes to relay messages. But now with exchange active sync and push emails it seems unnecessary to me.
To me, the people that like slack, are the ones that want you to respond to every little thing ASAP and they see it as a way to force people to respond quicker. Only thing is that this manic quickness destroys the mind, trains of thought, and makes it very hard to concentrate on project work when you are being distracted constantly by "chatters" (or i suppose, slackers). At least with email there is an expectation that you may take an hour or two to read it. That expectation goes away with IM clients, psychologically. For some personality types, this is a positive, and those personality types are sadly winning out.
I blame phone culture personally, but i certainly had younger friends in the ICQ days who would send 10 messages for every one response you made. Each one getting more and more desperate for a connection. Sad that the world has moved more and more in this direction, as reasoned responses take time to generate.
As a potential lottery winner, I totally support tax cuts for the wealthy
Where has all MY cpu gone? Ironically, about three hours ago, I noticed that my PC seemed sluggish. Fired up top. Opera is taking 25-30% of the cpu. What's Opera looking at? You guessed it, Slashdot. Killed the Slasdot tab. Opera usage dropped to under 1%.
You can't see ANYTHING from a car, You've got to get out of the goddamned contraption and walk...Edward Abbey
In general Slack's support for being members of multiple groups seems to be poor. Basically it looks like it doesn't have the concept of a single user simultaneously being members of multiple groups, and duplicates everything. It's particularly painful for 2FA.
What is Slack Desktop and why would I want it?
So what you're saying is that Slack's resource utilization increases linearly as you add more accounts to your Slack desktop client? But does it increase linearly as you add more accounts?
(for the sarcasm impaired, the summary is basically the same sentence repeated)
Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
But I thought that modern OSs figured out how to share even them in RAM.
"I don't know, therefore Aliens" Wafflebox1
I guess Firefox set the bar too low for RAM usage and the Firefox developers should add a couple more memory leaks just to be sure.
Did you try MyCleanPC?
Jesus H! People want to buy slack as a company? Wow, simply just wow.
and IRC server and a couple of bots would sort most of this out. (And fuck the gifs)
Bwah-ha-ha-ah!!! Boy, do we know this one.
Your hacker just wants to make sure there is no evidence. That's all. System cleaners aren't that effective in speeding up a computer, but they market it that way. Most people can achieve the same result by just restarting their computer.
IRC for life.
Slack is written in React and uses Electron. I suspect the version of the Google's V8 JavaScript engine being used does not benefit from some of the more recent optimisations used by the one in Chrome 57?
I would be curious to see what could be done to improve things?
Jumpstart the tartan drive.
People managed to do multiple chat rooms when 2400 baud was hot shit and their PC had 1/10 the processing power and memory of a modern one dollar SoC embedded controller... Fast forward 30 years and other people have apparently managed to create a multi-room chat system that is apparently capable of bringing systems with literally ten thousand times more processing power, memory and network bandwidth than ye olden PC-AT and acoustic modem to their knees.
I assume this is a conspiracy by battery manufacturers to make us buy more replacement batteries, because it's impossible to be that farking stupid by accident, isn't it?
An app ran over my dog, you sick fuck.
This is part the fault of developer laziness and part the fault of Agile.
Between the two, we're pushed towards higher and higher levels of abstraction to make things faster and easier for developers, but more and more terrible for users.
Compile "Hello World" on a modern platform and you get megabytes of code, libraries, and other unnecessaries that add up to astonishingly inefficient use of resources. But, it makes development fast and cheap, and hardware resources are basically infinite, RIGHT?
Because your dog was a LUDDITE! If it apped apps it would not have faced its appy death!
Apps!
Since I started using the 64 bit version of Firefox on my Windows PC I've not had nearly as much problem with it monopolizing the CPU(s). Admittedly, every few days when its memory usage gets over 10GB I tend to restart it just because it seems like a browser shouldn't use more than 10GB of memory!
In the time Slack has not a Linux client, I've created a similar client using qtwebkit for Linux: https://github.com/raelgc/scud.... It was a bit popular, then Slack released the official client, and I thought that my simple client was dead. For my surprise, it's still alive for all people complaining about resources.
Sure, still a web container running the web version with desktop integration, but at least is using directly a web engine, not an entire browser. The reason is because Slack has no messaging API at all.
Two downsides: Slack keep changing their JS all the time, so it's a cat and mouse game. And qtwebkit itself keep breaking small stuff, so, last month I got 2 major issues: Arch Linux got the newest qtwebkit version, and it was crashing with a dump, not even a python stack (fix was downgrade. Ubuntu 16.04 faced the opposite: Slack upgraded their CSS and qwebkit version included in Ubuntu 16.04 was no more properly rendering the CSS (I pointed people to a package that upgraded 16.04 webkit.
I contacted Slack at least 2 times offering helping on Linux as a volunteer, as their client is just a "compiled" JS and I told them I can: fix some issues, help testing and improve integration with major Linux desktops, but most of the times I have no answer or the traditional "we appreciate, but no".
If Javascript devs can be honest with themselves for a minute then they will realize that this is the result of using Javascript to make applications. Simply put, Javascript was never intended to be used for making applications and poor performance is a reflection of that reality. I'm certain they could optimize it but the overhead compared to a native application is absurd. Don't give me that "Javascript is one languages for all platforms" line either because C++/Qt works on just as many platforms.
Anons need not reply. Questions end with a question mark.
you cared enough to reply.
by TheSpoom (715771) Uncaring Linux user here. I have nothing to add to this but please continue. *munches popcorn*
It was a joke, guy with ass burgers.
In those situations, I use the Task Manager third-party add-on to find out the culprit. In my experience, the cause of CPU hogging is often one of the several add-ons I use with Firefox. Saving the session and restarting often cures the ailment, though I sometimes find that I have to close specific pages (weird interaction of combination of pages and add-ons).
I don't think, it is fair to single out JavaScript developers in particular...
Per Moore's law, today's computers are 1024 times faster than 15 years ago. Is the "user experience" that much better? It is not. Maybe, it is 10 times better: voice recognition almost works, graphics are better, apps are smarter. But nowhere near 1000-fold improvement. Because the developers "ate" most of the gains in hardware using it for their own convenience instead of that of the end-users.
In Soviet Washington the swamp drains you.
Not only does the summary not mention what Slack is, but 83 comments in and none of the comments do either. Though a lot of them seem to agree it's a resource hog. Is that really all it does? I mean you could achieve the same thing by opening Rick Astley videos on youtube, hitting play, and repeating for 30 tabs.
As noted by many, many others, Slack is a resource hog.
It's unusable in Firefox or Chrome in linux as it slows the whole machine down. Scrolling is sticky and laggy and a time sink because it takes so long.
The client is a little better, not much.
Also Slack forces you to have a General channel, which everyone is forced to use. With a few thousand people in it, it quickly because useless chatter that you can't shut out (you can mute it though).
I won't load the app on my phone. Others in my team have reported a "poor" experience and I need the phone for emergency systems down.
Overall, while Slack is pretty, I think older IRC client's with a bouncer are more suited to how I prefer to work. I'm guessing that Slack is more for people that don't want to learn how to run an IRC client and want a pretty front end to look at.
Necessity is the plea for every infringement of human freedom. It is the argument of tyrants; it is the creed of slaves.
In my experience the paying customers are corporate. Generally you'll have one account, theirs. If it sucks when you and your personal crap to the system well that's on you.
But yeah they should do a better job with memory management but I don't think we should be surprised if that is low priority versus features that their paying customers want.
I guess the windows version is better? My slack is using 0% -> 0.1% CPU at any given time and a whopping 25MB of RAM.
Of all the things that use resources which I run on my laptop including chrome, Xcode, various nodejs backed servers, NLP stuff, things in docker, Slack is not among the problems. Even after all this time, the JVM based apps are still the problematic ones. That being said, I did invest some time trying to use Atom; and it did have to be killed multiple times to avoid running out of system resources. I ascribe that to straight up bugs.
My motherboard maxes out at 8GB, fuck you.
I just load Slack in a browser on my (Mac) desktop. Seems fine in Firefox. Also use the iOS app on an iPhone with no issues.
Try the beta. It seems to be doing a lot better with CPU usage. Memory usage might still be an issue (I have 16G so I don't care).
https://slack.com/beta/mac
Corporate Gadfly
Jonathan Archer: the most beaten up Enterprise captain in Star Trek history
{
free (bufferx)
}
?
and numerous new chat protocols, IRC still rules them all.
poptix 4507 0.0 0.0 141996 13148 pts/4 Ssl+ Jan10 57:23 \_ irssi --config=~/.irssi/config.efnet
That's *with* 'infinite' scrollback enabled.
Just because you disagree doesn't mean it's not true.
Sounds like you're a Mac user, Mac users need to buy a new Mac to upgrade the amount of RAM available.
Change is certain; progress is not obligatory.
how much I hated using Slack.
I don't understand why people would want to use that crap. Apart from it slowing down your system, it slows down any progress on stuff you are working on. Most of the time, it is a distraction and more often then not it is either useless or not any better than e-mail.
When we dissolved our company, I was the least sad on not having to use slack anymore... Ow and I partially blame slack for your failure.
Eyeballs, my friend, eyeballs. You get a couple of million people to register for whatever service you came up with, make it look like it can be mined for user data and/or used to shove ads down users' throats in some way, and you easily got yourself a valuation of 9 figures and up.
If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
Gmail in my Chrome (Linux) easily consumes ~1.5GB. I have to kill and reload it every now and then to free the memory, and return to its base 800ish MB of ram.
64 millibits doesn't sound like much to me.
You know one of those pesky bit's of journalism. Try and tell your reader what you are talking about. No where in the summary or article does it mention what Slack does or why someone would use it, which I guess is fine because it obviously sucks.
Sorry, teleporters just kill you and then make a copy. A perfect, soul-less copy.
I haven't seen Ryver mentioned as an alternative to Slack in this conversation. I have tested it with a tech group that I run and I plan to take down our website and switch to Ryver for our communications. The price is right - free - and it works well as an alternative to Slack, at least for me.
FF52/linux 32-bit. Many crashes and memory grabs. I finally opened a new virgin profile and started adding back my beloved extensions a few at a time. No more grabs and crashes. Moved it to a 64-bit system. No appreciable speed difference or problems. I'm sorry for badmouthing FF :-(
Time yourself setting up the OS solution, RocketChat, integrated into Jira, Github, Heroku and AWS and then time yourself setting up the same in Slack.
Geeks like us can handle RocketChat, but normals can not. Also, I've never seen an IRC with in-channel threading, infinite searchable history across devices & sessions, code snippet support, etc.
Just like you can do everything Apple puts together for free doesn't take the value away from the for-pay solution. People are busy and Slack makes a key part of business communications with remote teams much easier.
Well, some of the macs can be brought to the dealer for upgrades. The imac 27" and the mac pro do have user accesisble DIMM slots.. And apparently the imac pro doesn't have user accessible slots. Apple is out of its mind.