major memory leak on plasmashell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
plasma-framework |
Fix Released
|
Medium
|
|||
plasma-workspace (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
It seems that plasmashell stole whole memory (RAM+swap) after login to Plasma 5 desktop.
[ 1138.989686] Out of memory: Kill process 1304 (plasmashell) score 913 or sacrifice child
[ 1138.989694] Killed process 1304 (plasmashell) total-vm:
tux@Z50:~$ lsb_release -rd
Description: Ubuntu Wily Werewolf (development branch)
Release: 15.10
tux@Z50:~$ apt-cache policy plasma-workspace
plasma-workspace:
Asennettu: 4:5.4.2-0ubuntu1
Ehdokas: 4:5.4.2-0ubuntu1
Versiotaulukko:
*** 4:5.4.2-0ubuntu1 0
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: plasma-workspace 4:5.4.2-0ubuntu1
ProcVersionSign
Uname: Linux 4.2.0-12-generic x86_64
ApportVersion: 2.19-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Oct 4 08:53:15 2015
InstallationDate: Installed on 2015-10-04 (0 days ago)
InstallationMedia: Kubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151003)
SourcePackage: plasma-workspace
UpgradeStatus: No upgrade log present (probably fresh install)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#13 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#14 |
corrupted link, here is right:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#15 |
Welcome into JS world! :)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#16 |
More plasma Debug http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#17 |
I see the same exact problem on my Gentoo 64bit laptop.
Plasma 5.2.1, KF5.7, Qt 5.4.1
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#18 |
Since I upgraded to plasma-5 I often run into an unresponsible (because of swapping) desktop, and have to hard-reset. Please have a look memory consumption please. I cannot upgrade my RAM anymore.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#19 |
I'm affected to.
Which desktop applets are you using?
I'm not using any additional desktop applets, besides the following builtins:
- K-Menu
- Virtual Desktops Switcher
- Window switcher
- Clock
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#20 |
I've got what I assume to be the same problem. I upgraded to Kubuntu 15.04 with Plasma 5.2.
On boot plasmashell uses ~160MB ram. I left the machine idle with nothing but a Konsole running, and a few hours later plasmashell had 3.2GB res RAM.
Sadly I'm not sure what logs I should attach to let anyone make sense of this.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#21 |
memsys, how did you create that valgrind output?
most importantly, how did you close valgrind/
Almost all these traces are just in Qt and it seems unlikely that's the problem.
can all of you above try removing applets to see if we can pinpoint one causing a problem.
Can you all above tell me what graphic card you're using + driver versions.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#22 |
It happens on two different machines for me, one is an intel GM45 Express with a recent i915 driver
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#23 |
The only plasmoids I've got running in my tray are notifications, volume control, network, klipper and removable devices. I don't see any memory being freed up if I stop/remove any of them.
I'm using the nvidia 346.47 driver on a nvidia 770GTX card.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#24 |
David Edmundson,
Here is info about graphic card and driver version:
http://
This is valgrind launch command:
localhost% valgrind --tool=memcheck --leak-check=full --leak-
"how did you close valgrind/
All log files was created with default installed applets, if it matter, ok, I remove them and make new one test/log files.
Regards
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#25 |
Here is plasma launch without applets. After ~20 minutes closed by Ctrl+C https:/
Here is valgrind results https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#26 |
https:/
- Plasma launch with 1 empty panel and 3 applets:
1. org.kde.
2. org.kde.
3. org.kde.
After attempt to add third applet valgrind shutdown ([1] + exit 253 valgrind --tool=memcheck --leak-check=full --leak-
and
https:/
valgrind --tool=memcheck --leak-check=full --leak-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#27 |
It happens to me mostly some time after the screen was locked, but I can't confirm it is really related to each other.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#28 |
*** Bug 345711 has been marked as a duplicate of this bug. ***
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#29 |
Have traced this down to the qt app: transmission-qt
The memory usage continuously rises while seeding with this app, after some time, possibly as much as an hour. Then immediately stops rising once I kill the app.
Transmission-gtk is fine.
This continues through the latest beta to 5.3.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#30 |
Transmission-qt makes plasmashell use more memory?
Does it have a system tray icon? Does that icon do anything "odd"?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#31 |
Ok David, that's it!
When I turn off the tray icon in transmission-qt (under preferences>
Good to know.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#32 |
Sorry, didn't answer your question, David.
It is the plasmashell using the memory, and no, the icon was not doing anything odd, when on.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#33 |
I have the same problem with plasmashell. I have no plasmoids on the desktop, and only a minimal menu bar.
My suspicion is that non-native apps are the issue. I use sparkleshare (a mono app), which I haven't managed to display in the system tray. Whenever it's running, plasmashell memory usage starts going up totally out of control.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#34 |
I experience the same problems on plasma 5.3 with no plasmoids, but with owncloud sync client running. I notice the problem only after I unlock the lock screen, and in my case Xorg.bin does exactly the same thing. Whereas "plasmashell" uses up to 2GB of Ram, Xorg.bin doubles the ram usage. I have attached smaps and screenshots from ksysguard.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#35 |
Created attachment 92365
Plasma memory usage smap export
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#36 |
Created attachment 92366
ksysguard detailed view of plasmashell memory usage
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#37 |
Created attachment 92367
ksysguard view of plasmashell and xorg memory usage
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#38 |
I forgot to add that I am using Fedora packages:
Fedora 21
Linux 3.19.5-200.fc21
KDE Plasma 5.3
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#39 |
Also I do not have transmission-qt or transmission installed or running
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#40 |
bugzy, can you list what things you do have in the sysem tray?
38 comments hidden
Loading more comments
|
view all 144 comments |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
mrl586 (mrl586) wrote : | #1 |
- Dependencies.txt Edit (18.2 KiB, text/plain; charset="utf-8")
- JournalErrors.txt Edit (14.3 KiB, text/plain; charset="utf-8")
- ProcEnviron.txt Edit (98 bytes, text/plain; charset="utf-8")
103 comments hidden
Loading more comments
|
view all 144 comments |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#105 |
Created attachment 96028
valgrind log of Xorg with debug symbols, from start to end
Xorg's valgrind run, with debug symbols, through shell script with following command line:
exec valgrind --error-limit=no --leak-check=full --log-file=
Finished with 830M+ RAM usage, even with no windows open.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#106 |
Experiencing this as well for quite some time now. Went up to 2gb within 4 hours, 4gb within 8 hours. Pretty linear.
It's always happening, having a pretty fresh kubuntu 15.10 install (with updates). I can reproduce it by being afk, so let me know if I can do anything to get this backtraced.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#107 |
I have got - not scientific :) - feeling the leak is correlated with workspace background: using solid color helps.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#108 |
Interestingly, for me, extremely reproducable if I'm running Wine OpenGL applications. There I've like 1mb/s mem leak. Running no wine OpenGL application, it seems to be pretty stable.
But why would plasmashell freak out because of wine OpenGL applications?
Fact is, as soon as I start an OpenGL application in Wine (as WoW), plasmashell it leask 920k/s. As soon as I close it, it stops leaking. Note that normal Wine applications don't start the leak, as in example the Battle.net Launcher.
So that seems to be connected at least.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#109 |
I have an idea but it is difficult to explain. Picture a compositor written in Qt5 and using opengl. Applications using libx11 directly and not Qt5 are causing leaks.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#110 |
Decided to put some time on this issue tonight. Happens on the following distributions:
Arch, KUbuntu, OpenSUSE, Fedora (KDE Build), Tanglu (3.0, 4.0 Alpha), Manjaro, Mint
Happens on DEs: Only KDE. DEs Tested:
KDE, Unity, Gnome, LXQt, KDE, LXDE, Cinnamon, MATE, Xfce.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#111 |
I think the leak only happens when I play CS GO (OpenGL app) and plasmashell is running. I now stop the plasmashell process while playing, and Xorg seems to have a normal memory usage.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#112 |
I think so too. Especially if wine was leaking in libx11, we'd see a different pattern (other DEs would very likely leak too!).
I didn't experience this on native OpenGL applications (yet) though, but I'l do some checks on that as well the next few days.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#113 |
(In reply to AnAkkk from comment #98)
> I think the leak only happens when I play CS GO (OpenGL app)...
I guess this generalization is too wide: I don't play games at all, but the leak takes place.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#114 |
(In reply to Andrew Gaydenko from comment #100)
> (In reply to AnAkkk from comment #98)
> > I think the leak only happens when I play CS GO (OpenGL app)...
>
> I guess this generalization is too wide: I don't play games at all, but the
> leak takes place.
Perhaps everything not gtk3/Qt5/sdl2 is causing leaks?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#115 |
Anyone on NVIDIA proprietary driver and getting memory leaks in Xorg process, can you try the following?
1) swapoff -a
2) quit all applications and anything minimized to your system tray but keep a terminal open and restart kwin (kwin_x11 or something --replace & disown).
3) close your terminal application.
4) Then ctrl+alt+F3 or F4 then ctrl+alt+f1 back to your session.
5) swapon -a
6) Check if Xorg process is now using less memory (in other terms, if some garbage collection happened).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#116 |
I am having the same problem as André Vitor de Lima Matos. Here's what I know:
* Only killing the X server reclaims the memory (killing plasmashell/
* Plasma/kwin 5.5.2 (has been occurring for a while though)
* EGL/OpenGL 2.0 are my compositing options, but it happens with xrender too
* Using Intel driver 2.99.917-r2, Xorg 1.17.4, Kernel 4.3.3
* No real widgets besides the default
* I run thunderbird from time to time (but leaks even when I don't run it), firefox (5 or so tabs, no inordinate memory usage), pidgin (a few conversations), konversation (about 35 tabs or so), and konsole (pretty much vim, htop, and basic system administration tasks).
* plasmashell is using about 200M of memory, kwin_x11 is using about 40M of memory
* xrestop shows nothing out of the ordinary
* Suspending does not worsen it (I don't hibernate)
* I run infinality
* I have only one tray icon not from KDE: pidgin, and it blinking doesn't seem to worsen the problem after a cursory look
* Closing/opening windows doesn't seem to cause it (though it changes memory usage slightly, it doesn't resolve the general leak)
* Rolling over the task manager (looking at thumbnails) doesn't cause it
I'm at a loss as to what more I can do, though, to elucidate the bug. It seems to happen under ill-defined circumstances.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#117 |
(In reply to Elizabeth Myers from comment #103)
> I am having the same problem as André Vitor de Lima Matos. Here's what I
> know:
>
> * Only killing the X server reclaims the memory (killing
> plasmashell/
Can you try my suggestion please? close all applications including system tray ones after disabling swap. restart kwin_x11/plasma and ctrl+alt+f3 or f4 and then ctrl+alt+f1 back to your X session.
I would like to know if ctrl+alt+f* operations are triggering garbage collection in Xorg.
> * I run infinality
I think infinality patches can cause issues
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#118 |
(In reply to Hussam Al-Tayeb from comment #104)
> Can you try my suggestion please? close all applications including system
> tray ones after disabling swap. restart kwin_x11/plasma and ctrl+alt+f3 or
> f4 and then ctrl+alt+f1 back to your X session.
I usually don't have swap enabled. The memory usage goes down when I close the apps and switch to a TTY to kill plasma and kwin_x11 (more from closing apps than anything else) but the leaked memory seems to remain.
Note though I only tried this when X was using about 300MB of memory (it starts with about 100). I will try it when the memory usage goes up again to the gigabyte range.
> I think infinality patches can cause issues
I've never had issues with them. I can try switching, but call me skeptical.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#119 |
(In reply to Elizabeth Myers from comment #105)
> I usually don't have swap enabled. The memory usage goes down when I close
> the apps and switch to a TTY to kill plasma and kwin_x11 (more from closing
> apps than anything else) but the leaked memory seems to remain.
Thank you. That is what I was trying to figure out.
If I understand correctly, closing an application and then switching to a TTY and back causes Xorg to release the xserver memory used for that application. If memory leaks remain afterwards, then this indicates issues with the xorg driver and the compositor (kwin_x11 in your case).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#120 |
I never had swap enabled, and didn't use infinality either. For some reason I haven't had the issue the last few days though, it looks like it fixed itself for me. I have no idea what changed, maybe this is after I updated to Plasma 5.5.2.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#121 |
Confirming that at least main memory leak is gone in plasma 5.5.2. Creating and closing lots of windows (which triggered leak previously) doesn't seem to leak anymore, as Xorg recovers memory after that windows were closed.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#122 |
I've tried another compositing WM (xfwm4) and I have no leaks. It definitely seems to be something KDE is doing.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#123 |
problem still exists on a version 5.5.3
apparently any plasmoid refresh take next leak
just set the display seconds in clock and during the day plasmashell take 600 mB ram
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#124 |
That test case is not reproducible for me, clock widget with seconds displayed... plasmashell hasn't grown any over the course of the past few minutes at least.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#125 |
(In reply to painless roaster from comment #110)
Did you use Breeze? https:/
Select Oxygen LookAndFeeel, logout - login make same tests.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#126 |
(In reply to Rex Dieter from comment #111)
> That test case is not reproducible for me, clock widget with seconds
> displayed... plasmashell hasn't grown any over the course of the past few
> minutes at least.
Few minutes is very short time for test with clock.
Faster test:
- download plasmoid thermal monitor and set:
- refresh speed - 0.1s
- create 5 fields for temperature monitoring (physical id and 4 cores)
- in this test is leak speed is 12MB / minute
Is any chance for use memory leak profiler please? For example compile plasma-workspace with library jemalloc and use jeprof.
Valgrind is too slow and not monitor during run. But jemalloc is ideal library for memory monitoring.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#127 |
(In reply to Rex Dieter from comment #111)
> That test case is not reproducible for me, clock widget with seconds
> displayed... plasmashell hasn't grown any over the course of the past few
> minutes at least.
I tried leak with thermal monitor on second pc. Leak exists, but it is slower (500kB / minute) . But for leak need set 6 virtual workspaces.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#128 |
(In reply to Anthony from comment #112)
> (In reply to painless roaster from comment #110)
> Did you use Breeze? https:/
> Select Oxygen LookAndFeeel, logout - login make same tests.
Leak (new test with thermal monitor) exists with oxygen and breeze .
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#129 |
I find that the leak persists even when the screensaver kicks in (overnight), so I wake to "kquitapp5 plasmashell && sleep 10s && plasmashell &>/dev/null & disown" every day.
I have a handful of systray icons which are handled by the xembed-sni-proxy, and I wonder if that contributes.
Also, if I let plasmashell's stdout and stderr come to my terminal window, I see xcb errors every time i move my mouse pointer over the taskbar and hover from one window marker to the next.
I don't know if either of these facts are helpful.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#130 |
(In reply to painless roaster from comment #113)
> Faster test:
> - download plasmoid thermal monitor and set:
> - refresh speed - 0.1s
> - create 5 fields for temperature monitoring (physical id and 4 cores)
> - in this test is leak speed is 12MB / minute
>
> Is any chance for use memory leak profiler please? For example compile
> plasma-workspace with library jemalloc and use jeprof.
> Valgrind is too slow and not monitor during run. But jemalloc is ideal
> library for memory monitoring.
I cannot confirm i use it regular since it created, not remember, not leak at all. Tell your graphic driver, mine is radeon, your nvidia?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#131 |
(In reply to Anthony from comment #117)
> (In reply to painless roaster from comment #113)
> > Faster test:
> > - download plasmoid thermal monitor and set:
> > - refresh speed - 0.1s
> > - create 5 fields for temperature monitoring (physical id and 4 cores)
> > - in this test is leak speed is 12MB / minute
> >
> > Is any chance for use memory leak profiler please? For example compile
> > plasma-workspace with library jemalloc and use jeprof.
> > Valgrind is too slow and not monitor during run. But jemalloc is ideal
> > library for memory monitoring.
>
> I cannot confirm i use it regular since it created, not remember, not leak
> at all. Tell your graphic driver, mine is radeon, your nvidia?
nouveau 1.0.12
$ uname -a
Linux 4.3.3-303.
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce 210] (rev a2)
$ rpm -q xorg-x11-
xorg-x11-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#132 |
valgrind detect memor leak (from 15minutes run) here:
==13702== 56,137,960 bytes in 32,858 blocks are definitely lost in loss record 62,663 of 62,663
==13702== at 0x4C28C50: malloc (in /usr/lib64/
==13702== by 0x7496DFA: QSGBatchRendere
==13702== by 0x7499074: QSGBatchRendere
==13702== by 0x74A4375: QSGBatchRendere
==13702== by 0x74B00AE: QSGRenderer:
==13702== by 0x74B08FA: QSGRenderer:
==13702== by 0x74C0DDD: QSGRenderContex
==13702== by 0x750ADCA: QQuickWindowPri
==13702== by 0x74DB78A: ??? (in /usr/lib64/
==13702== by 0x74DC890: ??? (in /usr/lib64/
==13702== by 0xA9D041B: QApplicationPri
==13702== by 0xA9D58E5: QApplication:
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#133 |
(In reply to painless roaster from comment #119)
> valgrind detect memor leak (from 15minutes run) here:
>
> ==13702== 56,137,960 bytes in 32,858 blocks are definitely lost in loss
> record 62,663 of 62,663
> ==13702== at 0x4C28C50: malloc (in
> /usr/lib64/
> ==13702== by 0x7496DFA:
> QSGBatchRendere
> /usr/lib64/
> ==13702== by 0x7499074:
> QSGBatchRendere
> /usr/lib64/
> ==13702== by 0x74A4375: QSGBatchRendere
> /usr/lib64/
> ==13702== by 0x74B00AE: QSGRenderer:
> /usr/lib64/
> ==13702== by 0x74B08FA: QSGRenderer:
> /usr/lib64/
> ==13702== by 0x74C0DDD: QSGRenderContex
> unsigned int) (in /usr/lib64/
> ==13702== by 0x750ADCA: QQuickWindowPri
> const&) (in /usr/lib64/
> ==13702== by 0x74DB78A: ??? (in /usr/lib64/
> ==13702== by 0x74DC890: ??? (in /usr/lib64/
> ==13702== by 0xA9D041B: QApplicationPri
> QEvent*) (in /usr/lib64/
> ==13702== by 0xA9D58E5: QApplication:
> /usr/lib64/
probably fixed in qt-5.5.2 nad qt-5.6.0
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#134 |
now i compiling qt5-qtdeclarative package with this patch
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#135 |
SOLVED!
these patches are needed:
for plasma-breeze - https:/
for qt5-qtdeclarative - https:/
thanks Antony, wojtek
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#136 |
I know it's not exactly appropriate to discuss distro-specifics here, but I know Rex Dieter is subscribed to this bug.
Of the two patches listed here as resolving this (very important) problem, one is for plasma-breeze and the other is for qt5-qtdeclarative. It looks like the latter is only committed against QT 5.6.
Rex (or other Fedora-type person), how can we communicate to the relevant Fedora package maintainers that we need a backport of this for QT 5.5.1 ?
(It looks like KDE bug 357800 for breeze is already in a 5.5.x context, and not a problem in master.)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#137 |
Backported patches are now included in qt5-qtdeclarati
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#138 |
Are there any openSUSE packagers of the QT components that are subbed to this bug report? If so, please backport it please.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#139 |
As someone who understood some of the words in this thread, thank you to everyone involved in diagnosing and producing a fix for this. I look forward to the update on Manjaro :)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#140 |
Thanks, Rex!
And thanks to all who diagnosed this.
137 comments hidden
Loading more comments
|
view all 144 comments |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Launchpad Janitor (janitor) wrote : | #2 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in plasma-workspace (Ubuntu): | |
status: | New → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
unicorp99 (unicorp99) wrote : | #3 |
x64 Kubuntu 16.04
lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Cqoicebordel (cqoicebordel) wrote : | #4 |
I see something similar. After 12h running without any action on my part (during the night), plasmashell went from ~130MB of RAM to ~2GB, with a constant 2% usage of CPU.
x64 Kubuntu 16.04
plasma-workspace : 4:5.5.5.2-0ubuntu1
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
MadEddy (mad-eddy) wrote : | #5 |
The same here. After 9h plasmashell stole 3.7 Gibi of my 6 Gibi RAM. How got this in a release? A LTS...
Kubuntu 16.04 LTS x64 (New install, no upgrade)
$ apt-cache policy plasma-workspace
plasma-workspace:
Installiert: 4:5.5.5.2-0ubuntu1
Installations
Versionstabelle:
*** 4:5.5.5.2-0ubuntu1 500
500 http://
100 /var/lib/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Cqoicebordel (cqoicebordel) wrote : | #6 |
- Valgrind of an idle plasmashell Edit (1.1 MiB, text/plain)
Yeah, plasmashell is too big a beast to ever work without issue. Breaking it up into smaller apps would help a lot.
BTW, I added a valgrind log of an idle plasmashell, which is using ~15% CPU, and increasing its memory usage by ~4MB/min
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
MadEddy (mad-eddy) wrote : | #7 |
Update: Looks like i found something...
I switched for my NV GTS450 from the "nouveau" to the "nvidia" (non-free) driver. Now the memory leak seemingly disappeared. Huh? Crazy!
After 2h plasmashell stays still at 150-160 Kibibyte.
Can someone reproduce this? Hope it helps. Greets
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Cqoicebordel (cqoicebordel) wrote : | #8 |
Holy shit !
I confirm that it seems to have solved the issue here too. I switched from nouveau to nvidia 340 for my GeForce 8400 GS, and now, the memory seems to have reached a stability point (for me between 280-340 MB).
Thanks !
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
unicorp99 (unicorp99) wrote : | #9 |
bug/1587635: also, in kde 5.6.4 from backports - plasmashell memory leak
also, on 5.5.1 kde and 4.4 original kernel - plasmashell memory leak
reproduce:
Update:
if i switch to proprientary nvidia driver (v361, GT430) - then memory NO leak,
if i switch to noveau - then memory leak.
131 comments hidden
Loading more comments
|
view all 144 comments |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#141 |
Still getting this in plasmashell 5.6.4 (ubuntu backported) with insane cpu and ram usage, and often crashes when searching. Not sure if related.
130 comments hidden
Loading more comments
|
view all 144 comments |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lemmiwinks (lemmiwinks) wrote : | #10 |
I also see this memory leak with the nvidia driver v346 and the nouveau driver as well, so no real difference here for me.
What we probably need is a backport of these two patches mentioned in this KDE bug report:
https:/
otherwise plasmashell will continue to eat more and more memory with every plasma screen update, like opening a plasmoid, systray item menu, etc.
I tried Fedora 24, which is build against QT 5.6 and it does not suffer from this problem.
131 comments hidden
Loading more comments
|
view all 144 comments |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#142 |
I have quite a similar issue with Archilinux and plasma 5.7.4
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#143 |
Still seeing this with Kubuntu 16.10. plasma-shell using 1GB of RAM by the end of the day. Plasma 5.7.5
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#144 |
I also have this problem on Kubuntu 16.10 and created a new ticket #372384.
132 comments hidden
Loading more comments
|
view all 144 comments |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Hans Meier (herrmeier) wrote : | #11 |
In the midst of 2017, the memory leak still exists...
I'd like to help you, if I can.
:~$ inxi -F -z -! 31
System: Kernel: 4.4.0-78-generic x86_64 (64 bit) Desktop: KDE Plasma 5.8.6 Distro: Ubuntu 16.04 xenial
Machine: System: LENOVO product: 3484JBG v: ThinkCentre Edge72
Mobo: LENOVO model: N/A v: 0B98401 PRO Bios: LENOVO v: F1KT70AUS date: 06/12/2015
CPU: Quad core Intel Core i5-3470S (-MCP-) cache: 6144 KB
clock speeds: max: 3600 MHz 1: 1911 MHz 2: 1891 MHz 3: 1724 MHz 4: 1964 MHz
Graphics: Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
GLX Renderer: Mesa DRI Intel Ivybridge Desktop GLX Version: 3.0 Mesa 12.0.6
Audio: Card Intel 6 Series/C200 Series Family High Definition Audio Controller driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.4.0-78-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
IF: p5p1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 283 Uptime: 2 days Memory: 2897.5/7807.0MB Client: Shell (bash) inxi: 2.2.35
:~$ sudo apt-cache policy plasma-workspace
plasma-workspace:
Installiert: 4:5.8.6-
Installations
Versionstabelle:
*** 4:5.8.6-
500 http://
100 /var/lib/
4:
500 http://
My solution on most days:
ALT + F2
kquitapp5 plasmashell && kstart plasmashell
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vasilis (vasilis-vlachoudis) wrote : | #12 |
I am having a similar problem here with the newest Kubuntu (KDE 5.38).
I have the impression the problem is coming from the Slideshow on the desktop, and my huge monitor resolution. plasmashell uses an incredible amount of 10g of resident memory on a fresh restart (killall plasmashell; kstart plasmashell), which after a few days it increases to eat up all memory 32g.
Changed in plasma-framework: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in plasma-workspace (Ubuntu): | |
status: | Confirmed → Fix Released |
Hi!
I have ArchLinux with Qt 5.4, KDE Framework 5.7.0 and KDE Plasma 5.2.0 installed on laptop.
During launch plasmashell uses almost twice more, than in KDE 4.14. During use plasmashell utilize over 600MB - that is more than as for KDE.
Install was made by different way:
- by deleting KDE 4.14 and then installing Plasma 5 with KDE Framework from official repository ArchLinux
- by installing clear ArchLinux and after that installing Plasma 5 with KDE Framework
- by installing clear ArchLinux and after that compiling Plasma 5 with KDE Framework from git sources
No one of this methods does not improve situation with using RAM on Plasma 5. In this form it is not suitable for use, even with 5.2.1 version released. In 4.14 plasma uses ~60mb ram on cold start, and not more than 80mb during use whole day. At case of 5.2.1 - 600mb by half day. This is more than all system and browser.
Hope, that this very big issue will be fixed with nearest releases.
Here is my explanation screenshots: res.cloudinary. com/metsys/ image/upload/ v1425513469/ kde5/image. png res.cloudinary. com/metsys/ image/upload/ v1425513470/ kde5/image1. png res.cloudinary. com/metsys/ image/upload/ v1425513469/ kde5/image2. png res.cloudinary. com/metsys/ image/upload/ v1425513468/ kde5/image3. png rghost. net/private/ 8Qgfs2rd4/ f05d5b1e87aad02 d863e9009e864c8 da]plasmashell.smaps
http://
http://
http://
http://
http://
luebking advice me post this issue here, in bug tracker
here is my first post: https:/ /forum. kde.org/ viewtopic. php?f=289& t=125251
Reproducible: Always
Steps to Reproduce:
In dedails
Expected Results:
use max 100 mb ram ))