Excessive memory usage for Xorg and kwin_x11

I noticed that after approximately two days of uptime, processes such as Xorg or kwin_x11 start consuming a lot more memory than I think they should be. Xorg reaches over 230 MB, kwin_x11 over 140 MB. Is this related to a bug, a setting, or anything that can be fixed? I’m running openSUSE Tumbleweed, Plasma 5.8.3 at the moment of this writing.

http://i.imgur.com/dNnPgr8.png

Xorg just reached 430 MB, which is unusual even for my daily experiences with this. It seems to have happened after playing around with Plasma, such as adding / removing plasmoids and restarting the plasma5 process. There’s most certainly a relation, and some memory leak somewhere within Plasma. Are there any existing bug reports that match this description?


top - 00:28:24 up 2 days,  8:50,  2 users,  load average: 1.32, 0.87, 0.76
Tasks: 303 total,   3 running, 300 sleeping,   0 stopped,   0 zombie
%Cpu(s):  3.5 us,  0.7 sy,  0.0 ni, 95.5 id,  0.2 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  9203396 total,   493148 free,  3309144 used,  5401104 buff/cache
KiB Swap:        0 total,        0 free,        0 used.  5513080 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                               
16431 mircea    20   0  800088  80512  61160 R 13.25 0.875   0:01.34 konsole                                                               
16248 mircea    20   0 4187180 283312 106732 S 7.947 3.078   0:41.10 plasmashell                                                           
 1528 root      20   0  908392 539496  96624 S 4.636 5.862 329:21.40 Xorg                                                                  
 1960 mircea    20   0 3989364 234228  88892 S 2.980 2.545  63:03.36 kwin_x11                                                              
14320 mircea    20   0 2388416 591428 151816 S 2.649 6.426   8:53.04 firefox                                                               
15272 mircea    20   0  655108 216848  74632 S 2.318 2.356   0:59.16 skype                                                                 
18428 mircea    20   0  957528 166424  71132 S 0.662 1.808  17:19.56 kvirc                                                                 
  558 root       0 -20       0      0      0 S 0.331 0.000   0:03.41 kworker/6:1H                                                          
 7866 root      20   0       0      0      0 S 0.331 0.000   0:04.14 kworker/4:0                                                           
13915 mircea    20   0  532032  36760  32768 S 0.331 0.399   0:02.12 kwalletd5                                                             
15386 mircea    20   0  588348  83776  61260 S 0.331 0.910   0:04.06 Cryptocat                                                             
15407 mircea    20   0 1036944  79864  56860 S 0.331 0.868   0:10.61 Cryptocat                                                             
16352 mircea    20   0 1284332 102968  82152 S 0.331 1.119   0:01.93 dolphin                                                               
    1 root      20   0  189604   5936   3988 S 0.000 0.064   0:04.03 systemd                                                               
    2 root      20   0       0      0      0 S 0.000 0.000   0:00.08 kthreadd                                                              
    3 root      20   0       0      0      0 S 0.000 0.000   0:02.19 ksoftirqd/0                                                           
    7 root      20   0       0      0      0 S 0.000 0.000   0:59.74 rcu_preempt                                                           
    8 root      20   0       0      0      0 S 0.000 0.000   0:00.01 rcu_sched                                                             
    9 root      20   0       0      0      0 S 0.000 0.000   0:00.00 rcu_bh                                                                
   10 root      rt   0       0      0      0 S 0.000 0.000   0:00.03 migration/0                                                           
   11 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 lru-add-drain                                                         
   12 root      rt   0       0      0      0 S 0.000 0.000   0:00.25 watchdog/0                                                            
   13 root      20   0       0      0      0 S 0.000 0.000   0:00.00 cpuhp/0                                                               
   14 root      20   0       0      0      0 S 0.000 0.000   0:00.00 cpuhp/1                                                               
   15 root      rt   0       0      0      0 S 0.000 0.000   0:00.18 watchdog/1                                                            
   16 root      rt   0       0      0      0 S 0.000 0.000   0:00.02 migration/1                                                           
   17 root      20   0       0      0      0 S 0.000 0.000   0:00.69 ksoftirqd/1                                                           
   20 root      20   0       0      0      0 S 0.000 0.000   0:00.00 cpuhp/2                                                               
   21 root      rt   0       0      0      0 S 0.000 0.000   0:00.18 watchdog/2                                                            
   22 root      rt   0       0      0      0 S 0.000 0.000   0:00.02 migration/2                                                           
   23 root      20   0       0      0      0 S 0.000 0.000   0:00.60 ksoftirqd/2


mircea@linux-qz0r:~> free
              total        used        free      shared  buff/cache   available
Mem:        9203396     3311036      487376       73400     5404984     5510980
Swap:             0           0           0

http://i.imgur.com/qnZd3wc.png