https://bugs.kde.org/show_bug.cgi?id=414132

            Bug ID: 414132
           Summary: Plasma 5.12 causes memory leak in Xorg not freeing
                    pixmap memory
           Product: plasmashell
           Version: 5.12.8
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: dmitriew...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Created attachment 123918
  --> https://bugs.kde.org/attachment.cgi?id=123918&action=edit
xrestop

SUMMARY

Plasmashell is causing gradual memory consumption by /usr/bin/X process.
In two days of Plasma session runtime it takes more than 1.2Gb of RSS by X
process. As you can see in the attachment for xrestop, this is caused by
gradually growing pixmap memory. The memory consumption is growing over days
until full available memory is accupied, then X system crashes, because of
earlyoom kills this process.

Some output:
$> ps l -p 1753
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  1753  1734  20   0 1817008 1317112 -   Ssl+ tty7     223:55 /usr/bin/X
-nolisten tcp -auth /run/sddm/{ccc...} -background none -noreset -displayfd 18
-seat seat0 vt7

$> ps l -p 16883
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
0  1000 16883     1  20   0 5631924 329984 SyS_po Sl ?         18:41
/usr/bin/plasmashell

STEPS TO REPRODUCE
1. Run X11 KDE5 session for days without logout
2. Usual use of KDE session with small and amount of apps opened
3. Memory consumption will grow gradually over days.

OBSERVED RESULT
Constantly growing memory consumption.

EXPECTED RESULT
Fixed pixmap memory consumption by plasmashell.

SOFTWARE/OS VERSIONS
Linux: Linux 4.12.14-lp151.28.25-default #1 SMP Wed Oct 30 08:39:59 UTC 2019
(54d7657) x86_64 x86_64 x86_64 GNU/Linux
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.55.0
Qt Version: 5.9.7

ADDITIONAL INFORMATION

I am using openSUSE Leap 15.1 with standard set of KDE packages, provided from
default distributive repository.

X session is Running on laptop with 32Gb RAM and Intel Graphics and OpenGL
enabled.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to