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


Groups > linux.debian.user > #245253

Re: Memory leak

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

Show all headers | View raw


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.

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.

Bijan

Back to linux.debian.user | Previous | Next — Previous in thread | Next 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