Re: Linux Memory (again)

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Graham via PLUG-discuss
Date:  
To: Main PLUG discussion list
CC: Matt Graham
Subject: Re: Linux Memory (again)
On 2020-11-06 18:28, Steve Litt via PLUG-discuss wrote:
> On Fri, 6 Nov 2020 07:48:40 -0700
> Michael Butash wrote:
>> Memory usage is getting frustrating for me, as whether I use 64gb of
>> ram, or 128gb, I still tend to exhaust memory on my system.
> Ouch. I have no problem using 16GB RAM


>> firefox was a big consumer, using ~25gb of ram once killed. Chrome
>> was typically worse. I use 6 profiles, as I have to for different
>> companies I consult for, mostly due to different gsuite
>> accounts and different o365 accounts


This is definitely not a common thing. I have never had more than one
profile. Then again, I have only worked for one company at a time,
never 6 at the same time. Don't you also have something crazy like 4
monitors at the same time?

> Chrome/Chromium and Firefox are absolute pigs. I finally tamed Firefox
> by setting it to drop all cache and other stuff upon exit, and then I
> shut down all instances of Firefox every day.


While I don't do that, I find I need to do that every week or so. I
have noticed that on OS X firefox, any animated GIF displayed in the
active tab causes CPU usage to skyrocket and the fan to start blowing.
Guess how many cow-orkers constantly post animated emojis in the work
Slack instance?

>> I tend to run several VM's at a time, a full instance of windoze10 or
>> two with 4-8gb of ram work fine.
> I don't know how many VMs you run, but those eat up memory.


A VM by nature can't share any of the RAM its guest OS is running, so
it's worse than usual.

>> I use pluma text editor a lot as the gedit fork from mint, which I'll
>> find uses 3-4gb of memory with a few dozen text files open.
> What the heck kind of editor requires 3-4GB RAM? That sounds crazy to
> me. Why do you have a few dozen files open simultaneously?


As a counterpoint, kate with 10 files open has an RSS of 132M. Having
36 files open in an editor seems a bit crazy to me as well, but I
usually have 3 to 6 files open in vim, and vim like most text editors
loads the entire file into memory. 36 files that are all 86M or so
would easily account for 3G. Text files that are written by people are
almost never that large, but log files....

> Libreoffice is kind of a pig. Is there something else you can use? And
> why a dozen or two simultaneous files open? This sounds like a
> workflow
> nightmare. Do you mean one Libreoffice instance with 24 files open


That seems the most likely scenario.

>> Even on boot, kde tends to use ~3.5gb of memory, and after running
>> for a few week or two, with everything else killed, will start
>> consuming ~9gb with nothing else running.
> Ohhhh, KDE. I call that Krash, Delay, Expand.


If that writeup is from 2012, it's at least 6 years out of date.

> Gnome and KDE are luxuries for folks with lightning fast processors
> and
> huge quantities of RAM


2015-vintage machine, 8G. I started KDE on Oct. 20, and top says 3912
M used. Most of this is firefox, not KDE, though. Maybe this is a
distro thing? Gentoo is somewhat more conservative than most distros
when it comes to versions and features. Also I've turned baloo off. I
don't need "file indexing", I can use grep -r like a normal person. :-P

>> My question is how the heck do others run linux with only 4-8gb of
>> ram on a "normal" system?
> I'm running a 2014 computer:
> * AMD A6-6400K APU 3.1Ghz dualcore
> * 16GB RAM
> * Openbox with dmenu and UMENU2
>
> With no browsers open, this machine is is snappy as hell. With firefox
> set to dump cache upon exit, as long as I do reasonable housekeeping
> on
> tabs, and prophylactically close all firefox instances at least once a
> day, everything's pretty good.


AMD FX 3.8 GHz 4-core, 8G, no special handling of firefox. However, I
only have one browser profile and generally only one browser window, no
VMs running, only 1 monitor, and rarely use LibreOffice. Current GUI
things are 1 Barrier, 2 Dolphin windows, 2 Gwenview windows, 1 konsole,
1 kcalc, 1 GNUcash, 1 Gimp, 1 System Settings, 1 Firefox window with 13
tabs, and the general KDE stuff that runs in the background. Note that
YMMV.

--
Crow202 Blog: http://crow202.org/wordpress
There is no Darkness in Eternity
But only Light too dim for us to see.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss