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


Groups > linux.debian.user > #245229

Memory leak

From Celejar <celejar@gmail.com>
Newsgroups linux.debian.user
Subject Memory leak
Date 2022-02-11 17:10 +0100
Message-ID <DPGEF-16Zt-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

I seem to have a serious memory leak on my system (Lenovo W550s) - the
memory usage seems to slowly but more or less steadily keep increasing.

This is a more or less normal (I think) desktop installation of Sid,
running Xfce4. Typical applications used are Firefox (currently with
just one extension: uBlock Origin), LibreOffice Writer, Sylpheed, Xfce4
Terminal, and Liferea, all from the official repos.

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.

I have never been able to wrap my head around linux memory usage
reporting. htop currently reports about 8.13 GB used (up from about
8.03 when I began this email). I sorted the processes by PERCENT_MEM,
and here are the leaders (VIRT / RES / SHR):

A half dozen or so Xorg processes: 4340M / 2947M / 90948

Numerous 'firefox' processes: 5102M / 1068M / 369M.

Some soffice.bin processes: 1096M / 301M / 128M.

A bunch more '/usr/lib/firefox/firefox' processes: 27.2G / 213M / 88620.

Some webkit processes: 100G / 212M / 143M.

Some liferea processes: 84.3G / 198M / 112M

A bunch *more* '/usr/lib/firefox/firefox' processes: 2835M / 186M / 127M

And a bunch *more* '/usr/lib/firefox/firefox' processes: 2456M / 180M /
150M

And then several more bunches of '/usr/lib/firefox/firefox' processes,
with values of the same orders of magnitude to the preceeding ones.

My understanding is that it's the RES and SHR values that are
important, not the VIRT ones. I have the impression that the Xorg
values are high. I saw recommendations to use xrestop to check things
like pixmap usage. I don't really know much about this, but currently
the total pixmap usage is about 360M, mostly used by a Writer process,
and about 40M for Xfwm4 and 30M by Firefox.

Any ideas?

Celejar

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