News for hackers. Stuff that matters.
Re:New Leaks of the Lenovo ThinkPad X1 Nano by bitwize on Wednesday July 15, 2020 @08:39AM (#23844294)
Running Slack.
Re:New Leaks of the Lenovo ThinkPad X1 Nano by 72deluxe on Wednesday July 15, 2020 @08:54AM (#23844470)
Haha it's insane why it would need so much RAM for chat. It's truly insane.
Re:New Leaks of the Lenovo ThinkPad X1 Nano by bitwize on Wednesday July 15, 2020 @07:43PM (#23853881)
Not really. It's a matter of which variable do you optimize for? There was a lot of Hackernews moaning on the thread for the blog post where the guy laments Kubernetes and its effect on etcd -- about how modern software is too complex and this and that.

But simplicity is not what they're optimizing for. They're optimizing for productivity -- specifically, how fast a typical corporate webdev shop can go from zero to working app. That's really the only thing that matters, because there's no room for something like Qt in today's move-fast-break-things environment. Qt means developing, compiling, testing, and supporting across multiple platforms which a modern webdev shop may not even be able to do if they had the budget for it (which they don't). Hell, there's barely room for any language besides JavaScript.

So hence, we get Electron and we get memory bloat. And it's perfectly reasonable, given the right perspective.

Re:New Leaks of the Lenovo ThinkPad X1 Nano by samoa42 on Thursday July 16, 2020 @02:41AM (#23856442)
> But simplicity is not what they're optimizing for. They're optimizing for productivity

it's not only simplicity we're leaving on the table but efficiancy (resource usage) as well. this is not sustainable industry practice (see climate crisis, rare earth depletion). the need for ever more hastly crafted apps is compareable to the need for cheap plastic toys from the 1-dollar store i.e highly questionable.

Re:New Leaks of the Lenovo ThinkPad X1 Nano by philliphaydon on Wednesday July 15, 2020 @08:46AM (#23844374)
Or chrome. Need 64gb option to run both.
Re:New Leaks of the Lenovo ThinkPad X1 Nano by superhuzza on Wednesday July 15, 2020 @11:05AM (#23846208)
I honestly can't tell if you're being serious.

I'm using a 6/7 year old ASUS with 8gb of RAM. It has no problems running 20 Chrome tabs, Slack, Spotify, VSCode all at once. Are these programs really pushing people's laptops that hard, or is my laptop some kind of weird mega-performer?

Re:New Leaks of the Lenovo ThinkPad X1 Nano by nobleach on Wednesday July 15, 2020 @11:43AM (#23846863)
I'm always confused why my experience never matches that of others in this arena. I run bare i3 and NeoVim. When I add Slack, Chrome and Spotify, I often see 12 Gigs of usage after a couple of days. Most of the time it comes down to Chrome's tabs... and Slack appearing to be leaky. I've recently started using an extension for Chrome which puts my tabs to sleep and frees the memory they were using. But still, I'm sitting at 8.33 Gigs of RAM used.
Re:New Leaks of the Lenovo ThinkPad X1 Nano by Joeri on Wednesday July 15, 2020 @11:49AM (#23846972)
Chrome is bad with memory if you’re a tab hoarder, and some extensions can also be problematic. They have an update in the pipeline which will dramatically decrease memory use for background tabs.

I haven’t really seen the memory problems with slack, but we use the free slack without extensions. Maybe it has a similar problem with extensions?

Re:New Leaks of the Lenovo ThinkPad X1 Nano by philliphaydon on Wednesday July 15, 2020 @11:28AM (#23846640)
While they do chew any ram available. It is an over exaggeration.
Re:New Leaks of the Lenovo ThinkPad X1 Nano by whatch on Wednesday July 15, 2020 @09:02AM (#23844558)
Or Firefox. (writing this from Firefox on Thinkpad with 16GB of RAM)
Re:New Leaks of the Lenovo ThinkPad X1 Nano by fernandotakai on Wednesday July 15, 2020 @09:28AM (#23844905)
funny thing: firefox is using ~433mb of ram with ~15 tabs (including gmail, graphql playground, youtube).

slack alone is using 300mb. discord is using another 300mb.

Re:New Leaks of the Lenovo ThinkPad X1 Nano by whatch on Wednesday July 15, 2020 @05:16PM (#23851971)
Just curious, how many extensions do you have? I'm trying not to bloat my browser too much with them, but have 3-4 privacy related extensions and a couple of utility ones. Right now I have 22 tabs and Firefox uses 5-6 GB of RAM. Restart decreases RAM usage, but Firefox slowly eats RAM again.

I remember recently I freed 10GB of RAM just by restarting Firefox. I literally looked at Ubuntu's System Monitor. And I keep everything updated.

Tried to play with settings in about:config, made even worse and reset.

Re:New Leaks of the Lenovo ThinkPad X1 Nano by fernandotakai on Wednesday July 15, 2020 @05:48PM (#23852465)
i'm using firefox nightly, with just a handful of extensions. vim vixen, lastpass, ublock origin and simple tab groups.

that's on linux, latest nightly.

Re:New Leaks of the Lenovo ThinkPad X1 Nano by philliphaydon on Wednesday July 15, 2020 @09:47AM (#23845148)
I just checked mine my slack because I thought 300mb was too low for slack, mine is using 68mb, it used to chew like 1gb... Did they optimize it or something.
Re:New Leaks of the Lenovo ThinkPad X1 Nano by iso1631 on Wednesday July 15, 2020 @10:16AM (#23845511)
No optimisations here: Slack is using VIRT: 24.868g, RSS: 1.919g, SHR: 526924

Next highest single process is Firefox with 1G RSS and 5G Virt. I have 113 tabs open at the moment, although there's about 4G of RSS in "Web Content" processes which are firefox related.