Re: Linux doesn't seem to manage memory very well

Liste des GroupesRevenir à col misc 
Sujet : Re: Linux doesn't seem to manage memory very well
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.os.linux.misc
Date : 03. May 2024, 07:02:34
Autres entêtes
Organisation : A little, after lunch
Message-ID : <v11ulq$cmde$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
On 03/05/2024 00:23, Computer Nerd Kev wrote:
Carlos E.R. <robin_listas@es.invalid> wrote:
On 2024-05-02 16:06, James Harris wrote:
>
Yes, I am (at least tentatively) blaming Linux but not for the problem
you think. I wouldn't expect Linux to prevent programs from gobbling up
memory but I would expect it to manage memory hogs more gracefully than
it does. IME Windows handles the same situation better - and that may be
down to the different designs of their paging systems.
>
Don't get me wrong. I much prefer Linux to Windows and have often seen
Windows get into a worse situation under different circumstances. But
for page management ISTM that the design of Linux's paging subsystem may
not be the best.
>
You can configure Linux to crash the application that is behaving badly
by grabbing all the memory. It is up to you, the boss.
>
The philosophy is not to nanny care for you. It does what you asked.
More memory? Yes sir. Till death does us part. Your orders will be obeyed.
>
:-)
 I didn't know there was an option not to have it do that (via the
Out Of Memory Reaper). It seems the alternatives are to reboot or
risk the kernel crashing, so your description seems about right.
 https://www.oracle.com/technical-resources/articles/it-infrastructure/dev-oom-killer.html
 The OP has noted now that the process that consumes their RAM is
Chrome or Firefox. I've not seen a detailed description of why it
happens, but I've long noted that Firefox seems to expand its RAM
usage to the available space, but different from a memory leak in
that it usually leaves a certain amount free. I assume that this
in intended behaviour. I run current Firefox on a PC with 2GB RAM
and I don't have it getting killed by the kernel, nor do I have
problems with kernel crashes/reboots. I've also tried running
recent Firefox on a PC with 512MB RAM and noticed that it performs
much worse than with 2GB RAM, slowing down to a crawl while loading
some websites, suggesting that it really does need more RAM in that
case.
 I don't use web browsers to play video. If you're streaming super
high resolution video through your browser with the latest and
greatest compression algorithms, then it probably has the right
to chew up a lot of RAM.
 
I use browsers to play videos. RAM usage is not massive. CPU usage is.
What chews memory are *commercial* websites loaded with (deliberately) buggy javaScript that cause javaScript engines to go into meltdown. How that is handled is browser dependent.
Ublock Origin helps massively, but is not a complete answer.
What is a massive help at leats in Mint Mate is the System Monitor widget that I keep in the task bar permanently displaying CPU, RAM and Network usage as teeny graphs.
It is very easy to see when memory is all grabbed by a process rather than simply cache
And monitor how much gets released when you close a website page.
It is configurable to do what htop, top and atop do in a much simpler way for GUI users
Right now, it looks like Thunderbird is my biggest surprise at almost a gigabyte?
I will close it and reopen it. It shouldnt be THAT heavy on memory.
--
“when things get difficult you just have to lie”
― Jean Claud Jüncker

Date Sujet#  Auteur
1 May 24 * Linux doesn't seem to manage memory very well67James Harris
1 May 24 +* Re: Linux doesn't seem to manage memory very well6Marc Haber
2 May 24 i`* Re: Linux doesn't seem to manage memory very well5James Harris
2 May 24 i +* Re: Linux doesn't seem to manage memory very well3Marc Haber
2 May 24 i i`* Re: Linux doesn't seem to manage memory very well2Rich
2 May 24 i i `- Re: Linux doesn't seem to manage memory very well1Marc Haber
3 May 24 i `- Re: Linux user doesn't seem to manage memory very well1Lawrence D'Oliveiro
1 May 24 +* Re: Linux doesn't seem to manage memory very well6The Natural Philosopher
1 May 24 i+- Re: Linux doesn't seem to manage memory very well1candycanearter07
2 May 24 i+- Re: Linux doesn't seem to manage memory very well1Lawrence D'Oliveiro
2 May 24 i`* Re: Linux doesn't seem to manage memory very well3James Harris
3 May 24 i `* Re: Linux doesn't seem to manage memory very well2The Natural Philosopher
6 May 24 i  `- Re: Linux doesn't seem to manage memory very well1candycanearter07
1 May 24 +* Re: Linux doesn't seem to manage memory very well5David W. Hodgins
2 May 24 i`* Re: Linux doesn't seem to manage memory very well4James Harris
2 May 24 i +- Re: Linux doesn't seem to manage memory very well1Carlos E.R.
2 May 24 i +- Re: Linux doesn't seem to manage memory very well1David W. Hodgins
3 May 24 i `- Re: Linux doesn't seem to manage memory very well1The Natural Philosopher
1 May 24 +* Re: Linux doesn't seem to manage memory very well29Lew Pitcher
1 May 24 i`* Re: Linux doesn't seem to manage memory very well28Kenny McCormack
1 May 24 i +* Re: Linux doesn't seem to manage memory very well4Richard Kettlewell
2 May 24 i i+- Re: Linux doesn't seem to manage memory very well1Lawrence D'Oliveiro
2 May 24 i i`* Re: Linux doesn't seem to manage memory very well2Marc Haber
2 May 24 i i `- Re: Linux doesn't seem to manage memory very well1The Natural Philosopher
2 May 24 i +* Re: Linux doesn't seem to manage memory very well18Carlos E.R.
2 May 24 i i+- Re: Linux doesn't seem to manage memory very well1Marc Haber
2 May 24 i i`* Re: Linux doesn't seem to manage memory very well16James Harris
2 May 24 i i `* Re: Linux doesn't seem to manage memory very well15Carlos E.R.
3 May 24 i i  `* Re: Linux doesn't seem to manage memory very well14Computer Nerd Kev
3 May 24 i i   +* Re: Linux doesn't seem to manage memory very well4The Natural Philosopher
3 May 24 i i   i`* Re: Linux doesn't seem to manage memory very well3Computer Nerd Kev
3 May 24 i i   i `* Re: Linux doesn't seem to manage memory very well2The Natural Philosopher
4 May 24 i i   i  `- Re: Linux doesn't seem to manage memory very well1Computer Nerd Kev
3 May 24 i i   `* Re: Linux doesn't seem to manage memory very well9Carlos E.R.
4 May 24 i i    `* Re: Linux doesn't seem to manage memory very well8Computer Nerd Kev
4 May 24 i i     +- Re: Linux doesn't seem to manage memory very well1Carlos E.R.
4 May 24 i i     +* Re: Linux user doesn't seem to manage memory very well2Lawrence D'Oliveiro
4 May 24 i i     i`- Re: Linux user doesn't seem to manage memory very well1Computer Nerd Kev
4 May 24 i i     +* Re: Linux doesn't seem to manage memory very well3The Natural Philosopher
6 May 24 i i     i`* Re: Linux doesn't seem to manage memory very well2candycanearter07
6 May 24 i i     i `- Re: Linux doesn't seem to manage memory very well1The Natural Philosopher
6 May 24 i i     `- Re: Linux doesn't seem to manage memory very well1candycanearter07
2 May 24 i `* Re: Linux doesn't seem to manage memory very well5James Harris
3 May 24 i  `* Re: Linux doesn't seem to manage memory very well4The Natural Philosopher
3 May 24 i   `* Re: Linux doesn't seem to manage memory very well3James Harris
3 May 24 i    `* Re: Linux doesn't seem to manage memory very well2Richard Kettlewell
4 May 24 i     `- Re: Linux user doesn't seem to manage memory very well1Lawrence D'Oliveiro
1 May 24 +- Re: Linux doesn't seem to manage memory very well1Marco Moock
1 May 24 +* Re: Linux doesn't seem to manage memory very well13Grant Taylor
1 May 24 i+* Re: Linux doesn't seem to manage memory very well11candycanearter07
1 May 24 ii`* Re: Linux doesn't seem to manage memory very well10Grant Taylor
2 May 24 ii `* Re: Linux doesn't seem to manage memory very well9Marc Haber
2 May 24 ii  `* Re: Linux doesn't seem to manage memory very well8Lawrence D'Oliveiro
2 May 24 ii   +- Re: Linux doesn't seem to manage memory very well1Andy Burns
2 May 24 ii   +* Re: Linux doesn't seem to manage memory very well3The Natural Philosopher
2 May 24 ii   i`* Re: Linux doesn't seem to manage memory very well2Carlos E.R.
2 May 24 ii   i `- Re: Linux doesn't seem to manage memory very well1Marc Haber
2 May 24 ii   +- Re: Linux doesn't seem to manage memory very well1Marc Haber
2 May 24 ii   `* Re: Linux doesn't seem to manage memory very well2Rich
2 May 24 ii    `- Re: Linux doesn't seem to manage memory very well1Carlos E.R.
2 May 24 i`- Re: Linux doesn't seem to manage memory very well1James Harris
1 May 24 +* Re: Linux doesn't seem to manage memory very well2D
1 Jun 24 i`- Re: Linux doesn't seem to manage memory very well126xh.0717
1 May 24 +- Re: Linux user doesn't seem to manage memory very well1Lawrence D'Oliveiro
2 May 24 `* Re: Linux doesn't seem to manage memory very well3Carlos E.R.
2 May 24  +- Re: Linux doesn't seem to manage memory very well1Rich
2 May 24  `- Re: Linux doesn't seem to manage memory very well1James Harris

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal