Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #245240

Re: Memory leak

From Linux-Fan <Ma_Sys.ma@web.de>
Newsgroups linux.debian.user
Subject Re: Memory leak
Date 2022-02-11 20:20 +0100
Message-ID <DPJCx-18Ke-7@gated-at.bofh.it> (permalink)
References <DPGEF-16Zt-5@gated-at.bofh.it> <DPJ9v-18kD-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Stefan Monnier writes:

> > I used to have 8 GB on the system, and it would start to thrash at
> > about 7+ GB usage. I recently ugrade to 16 GB; memory usage is
> > currently over 8 GB, and it seems to be slowly but steadily increasing.
>
> Presumably you bought 16GB to make use of it, right?
> So it's only natural for your OS to try and put that memory to use.
> Any "free memory" is memory that could potentially be used for something
> more useful (IOW "free" = "wasted" in some sense).
>
> It's normal for memory use to increase over time, as your OS finds more
> things to put into it.

That was my first intuition, too. There is even a classic website about this  
very topic: https://www.linuxatemyram.com/

HOWEVER, given that the OP mentions looking at the RSS sizes I think the  
classic "all memory used" issue is already ruled-out. The issue seems to be  
modern webbrowsers which could be considered OSes on their own already hence  
they also claim more resources whenever it is useful for them.

Firefox takes just above 1600 MiB here with only six tabs open for four  
hours. Yet I am pretty sure it would take less were this a "lower-end"  
system e.g. fewer CPU cores would cause fewer processes to be spawned and  
hence the memory efficiency might be better in such cases.

HTH and YMMV
Linux-Fan

öö

[...]

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Memory leak Celejar <celejar@gmail.com> - 2022-02-11 17:10 +0100
  Re: Memory leak Charles Curley <charlescurley@charlescurley.com> - 2022-02-11 18:00 +0100
    Re: Memory leak Celejar <celejar@gmail.com> - 2022-02-11 18:10 +0100
      Re: Memory leak Charles Curley <charlescurley@charlescurley.com> - 2022-02-11 19:50 +0100
        Re: Memory leak Celejar <celejar@gmail.com> - 2022-02-11 21:10 +0100
          Re: Memory leak Charles Curley <charlescurley@charlescurley.com> - 2022-02-11 23:40 +0100
        Re: Memory leak piorunz <piorunz@gmx.com> - 2022-02-11 21:20 +0100
      Re: Memory leak Celejar <celejar@gmail.com> - 2022-02-11 20:50 +0100
  Re: Memory leak Stefan Monnier <monnier@iro.umontreal.ca> - 2022-02-11 19:50 +0100
    Re: Memory leak Linux-Fan <Ma_Sys.ma@web.de> - 2022-02-11 20:20 +0100
      Re: Memory leak David Wright <deblis@lionunicorn.co.uk> - 2022-02-13 18:10 +0100
    Re: Memory leak Celejar <celejar@gmail.com> - 2022-02-11 20:50 +0100
      Re: Memory leak Stefan Monnier <monnier@iro.umontreal.ca> - 2022-02-12 18:50 +0100
        Re: Memory leak Celejar <celejar@gmail.com> - 2022-02-14 22:50 +0100
  Re: Memory leak "Roy J. Tellason, Sr." <roy@rtellason.com> - 2022-02-12 00:20 +0100
    Re: Memory leak piorunz <piorunz@gmx.com> - 2022-02-12 09:10 +0100
      Re: Memory leak Curt <curty@free.fr> - 2022-02-12 13:50 +0100
        Re: Memory leak piorunz <piorunz@gmx.com> - 2022-02-14 02:30 +0100
    Re: Memory leak Curt <curty@free.fr> - 2022-02-12 11:20 +0100
      Re: Memory leak rhkramer@gmail.com - 2022-02-12 15:30 +0100
        Re: Memory leak Felmon Davis <moelmoel2714@gmail.com> - 2022-02-12 23:50 +0100
        Re: Memory leak <tomas@tuxteam.de> - 2022-02-13 07:30 +0100
          Re: Memory leak rhkramer@gmail.com - 2022-02-13 16:10 +0100
            Re: Memory leak <tomas@tuxteam.de> - 2022-02-13 16:20 +0100
            Re: Memory leak "Andrew M.A. Cater" <amacater@einval.com> - 2022-02-13 17:10 +0100
        Re: Memory leak "Roy J. Tellason, Sr." <roy@rtellason.com> - 2022-02-13 21:00 +0100
          Re: Memory leak rhkramer@gmail.com - 2022-02-14 02:20 +0100
      Re: Memory leak Felmon Davis <moelmoel2714@gmail.com> - 2022-02-12 23:50 +0100
        Re: Memory leak <tomas@tuxteam.de> - 2022-02-13 07:40 +0100
          Re: Memory leak Tixy <tixy@yxit.co.uk> - 2022-02-13 09:10 +0100
            Re: Memory leak Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-13 17:10 +0100

csiph-web