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 : robin_listas (at) *nospam* es.invalid (Carlos E.R.)
Groupes : comp.os.linux.misc
Date : 03. May 2024, 12:38:00
Autres entêtes
Message-ID : <otuegkxjmk.ln2@Telcontar.valinor>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
On 2024-05-03 01: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.
Firefox uses a lot of memory.
One problem is memory fragmentation. It reserves many chunks then eventually frees many, but they may not being contiguous, so maybe they can not be reused, so it requests more memory.
When I started using Linux, back in 1998, I did notice that Linux needed more memory than Windows to work right. I had to improve my hardware because of that. My previous computer had 8 GB and it was not enough, it was swapping. So now I have a machine with 64.

 I don't use web browsers to play video.
No youtube? :-)

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.
 
--
Cheers, Carlos.

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