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


Groups > linux.debian.user > #245256

Re: Memory leak

From Celejar <celejar@gmail.com>
Newsgroups linux.debian.user
Subject Re: Memory leak
Date 2022-02-11 22:30 +0100
Message-ID <DPLEl-19Vz-1@gated-at.bofh.it> (permalink)
References <DPIGt-18b9-1@gated-at.bofh.it> <DPKff-18WM-1@gated-at.bofh.it> <DPLbk-19vY-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 11 Feb 2022 15:57:58 -0500
Bijan Soleymani <bijan@psq.com> wrote:

> On 2022-02-11 14:52, Celejar wrote:
> > As I mentioned in another post, I do this occasionally, but I'm not
> > sure how to interpret the results. I just killed firefox; I got back
> > about 3.5 GB, but the system is still using about 4.8, and Xorg's usage
> > hasn't changed: ~ 4436M / 3081M / 105M.
> 
> Closing Firefox returns 100% of Firefox memory to OS (as long as all the 
> processes are killed). I don't know that it would affect Xorg's usage 
> though.

I understand, but apparently sometimes application memory leaks show up
as increased Xorg memory usage:

https://unix.stackexchange.com/questions/6538/xorg-memory-leaks

This is admittedly old, and xrestop doesn't show anything too
suspicious.

> A lot of memory in Linux (and other OS's) is allocated to cache/buffers 
> to speed things up. As programs use more memory the amount for that goes 
> down.
> 
> For example on my system now with 16GB I have:
> MiB Mem :  16007.9 total,   4564.8 free,
> 6306.2 used,   5136.9 buff/cache
> 
> (with thunderbird, chrome, etc. open).
> 
> So 5GB is used for cache and 6GB is used for programs and about 4GB is free.

I understand this, but as I've been saying, I have the impression that
too much memory is being actually used outside buffers and cache.

Celejar

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


Thread

Re: Memory leak Charlie Gibbs <cgibbs@surfnaked.ca> - 2022-02-11 19:20 +0100
  Re: Memory leak piorunz <piorunz@gmx.com> - 2022-02-11 19:30 +0100
    Re: Memory leak <tomas@tuxteam.de> - 2022-02-12 09:20 +0100
  Re: Memory leak Celejar <celejar@gmail.com> - 2022-02-11 21:00 +0100
    Re: Memory leak Bijan Soleymani <bijan@psq.com> - 2022-02-11 22:00 +0100
      Re: Memory leak Celejar <celejar@gmail.com> - 2022-02-11 22:30 +0100

csiph-web