#880040 plasma-workspace: PlasmaShell eats a lot of memory and CPU

Package:
plasma-workspace
Source:
plasma-workspace
Description:
Plasma Workspace for KF5
Submitter:
Adrian Ban
Date:
2017-10-28 20:30:05 UTC
Severity:
normal
#880040#5
Date:
2017-10-28 20:22:17 UTC
From:
To:
Dear Maintainer,

I've notice that the plasmashell is starting to eat a huge amount of memory and
CPU.
A simple copy of a AVI file from my local HDD to a network storage lead to
this.

Sometimes only keeping the system running with anykind of software opened is
starting to eat memory.
The only way to recover the PC memory is to logout and login.

Here is the TOP command output:

top - 22:18:47 up 11:54,  1 user,  load average: 0.13, 0.65, 1.15
Tasks: 258 total,   1 running, 257 sleeping,   0 stopped,   0 zombie
%Cpu0  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  4.0 us,  0.0 sy,  0.0 ni, 96.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  5.0 us,  5.0 sy,  0.0 ni, 90.1 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  :  1.0 us,  2.0 sy,  0.0 ni, 97.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu4  :  2.0 us,  0.0 sy,  0.0 ni, 98.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu5  :  2.0 us,  3.0 sy,  0.0 ni, 95.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu6  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu7  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 11995152 total,   191884 free,  7161560 used,  4641708 buff/cache
KiB Swap:  4192252 total,  4192252 free,        0 used.  4293708 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 8340 adrian    20   0 10.688g 5.816g 128236 S  16.8 50.8 499:07.38
/usr/bin/plasmashell
 8583 adrian    20   0  647900 131692  16152 S   0.0  1.1   0:18.08
/usr/sbin/mysqld --defaults-file=/home/adrian/.local/share/akonadi/mysql.conf
--datadir=+
 8332 adrian    20   0 3159180 112652  67012 S   1.0  0.9   9:24.46 kwin_x11
18378 adrian    20   0 1030484 104304  41312 S   1.0  0.9   0:49.12
/usr/bin/perl /usr/bin/pac
 5264 root      20   0  661300  99624  43592 S   5.9  0.8 218:17.48
/usr/lib/xorg/Xorg -nolisten tcp -auth
/var/run/sddm/{797df2b6-92bb-4aac-a61b-eb8b20a069+
 8377 adrian    20   0 1053044  84748  56504 S   0.0  0.7   0:12.72
/usr/bin/owncloud
 7010 adrian    20   0  753164  83576  41608 S   1.0  0.7   0:10.18
/usr/bin/python3 /usr/bin/reportbug --exit-prompt --ui gtk2
13652 adrian    20   0  762580  74880  58220 S   3.0  0.6   5:33.55
/usr/bin/systemmonitor
 8337 adrian    20   0  765784  68920  52328 S   0.0  0.6   0:29.49
/usr/bin/krunner
 8386 adrian    20   0  985492  65476  55188 S   0.0  0.5   0:00.60
/usr/bin/korgac

Adrian