Bug 495468
Summary: | KDE plasma memory leak | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Nagy <moonballoon> |
Component: | kdebase-workspace | Assignee: | Than Ngo <than> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | arbiter, fedora, jreznik, kevin, ltinkl, rdieter, smparrish, than, tuxbrewr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-05-26 14:11:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mark Nagy
2009-04-13 10:59:17 UTC
Where I said "running fine on less than 3MB" I meant "running fine on less than 30MB"; the point is essentially the same, but sorry about the typo... Thank you for the bug report. This issue needs to be addressed by the upstream developers. Please submit a report at http://bugs.kde.org. You are requested to add the bugzilla link here for tracking purposes. Please make sure the bug isn't already in the upstream bug tracker before filing it. OK, they have a few possibly-related bug reports, some of them linking to each other in circles - I'll have to look at this some more for a while and see if I can either definitely identify it with an existing report or submit a new one without having that dismissed or deflected one way or another... We can help, post the bugs you've found so far... or if in doubt, file a new one. In the meantime, please list output of rpm -q qt kdelibs and list all plasma widgets you use (in particular, if using anything not in fedora currently). So far, I haven't tried filing a new bug report, because from the output under some existing reports it looks like the developers would be inclined to respond with some version of "we're sick of this subject; look at all the other bug reports like this, and then go away you fool," but anyway... # rpm -q qt kdelibs qt-4.4.3-15.fc10.i386 kdelibs-4.2.1-4.fc10.i386 I am running the task manager, system tray, show desktop, and application launcher widgets. I have one panel at the top of the screen and one at the bottom, both set to auto hide. I was originally running a digital clock widget, but I closed it, for reasons described below, and that does *not* appear to have solved the problem. The bug report that looked most promising to me initially (for what it's worth) was "Bug 184394 – Plasma use more memory over time" but "karaluh" seems to have deflected that as "propably a duplicate of [Bug 183191]". Bug 183191 is "possible memory leak in digital clock...". When I saw that one, I removed the digital clock widget from my plasma panel and restarted plasma again, but it looks like the memory usage is still rising (from about 25MB to about 36MB in the last hour or so). Karaluh also comments that "Bug 182900 – Twitter widget leaks memory" might be a duplicate of Bug 184394, and comments under Bug 183191, "see also: [Bug 184394 and Bug 182900]". I have never used Twitter. Under "Bug 183646 – plasma leaks into X11 pixmap memory", one person has added a comment describing what sounds like the problem I am seeing here, only to be accused of "pollut[ing]" the bug report because "X11 pixmap memory" is not "resident memory" and because he mentions NVidia drivers, which "have had separate issues documented elsewhere". I don't know enough to distinguish "X11 pixmap memory" from "resident memory", and as I said I am using an ATI card. So, at a first glance, at least, the problem I see on the KDE bug site seems very similar to the problem I had searching the web in general: Various people are reporting what sounds like it *might* be the same bug, but it is invariably either chalked up to things that don't apply in my case or otherwise dismissed. One thing worth trying is to see if kde-4.2.2 currently in updates-testing helps for you. Another common element between you and the reporter of upsream bug #183191 is the "show desktop" widget. And, for the digikal clock widget, do you ever use the "show seconds" option? (but likely not it, since you recently removed it...) You mention plasma keeps using more memory, but you haven't quantified this. Please provide numbers of initial values and approximate rate of growth (for reproducibility and comparison). First, I'm not sure why you are saying I didn't quantify the rate. Do you simply mean you want more precision? Because I did say both that it had grown from something on the order of 30MB to over 500 before I restarted because of slowness and that it took about an hour to get from about 25MB to 36MB after I removed the clock. It looks like the rate is somewhat variable though, so getting much more precision without already knowing the cause(s) might be problematic... I wasn't using the "show seconds" option on the digital clock. I will see what happens when I remove "show desktop"... Well, the memory usage is still growing noticeably so far, although it will take a day or two to see if it gets ridiculously high like before I suppose. Each time I removed an applet the system subjectively seemed a bit faster, and it looks like the rate of memory usage increase is lower too now although I haven't seen enough to quantify or be certain of the difference yet. Of course I wouldn't know but I wonder if the fact that this is associated with various different widgets and features could be because it is a general plasma problem after all, but of some kind that these other things can all aggravate. Plasma memory usage on my system is now up from 26m to 78m so far in the 10 1/2 hours since the preceding comment. This is with no clock or show-desktop widgets. It continues to look more to me (in my admittedly non-expert opinion) like upstream Bug 184394 ("Plasma use more memory over time", https://bugs.kde.org/show_bug.cgi?id=184394) was on the right track - there might be some widgets and widget functions that make this problem worse, but it still seems like a general plasma problem, not a duplicate of something narrower. Memory usage for the same plasma process is now up to 152MB (as of about 6:30, roughly 31 hours after the last restart). It seems pretty clear that removing the widgets didn't stop the memory leak, although it seems to have slowed it down. (In reply to comment #6) > One thing worth trying is to see if kde-4.2.2 currently in updates-testing > helps for you. > > Another common element between you and the reporter of upsream bug #183191 is > the "show desktop" widget. > > And, for the digikal clock widget, do you ever use the "show seconds" option? > (but likely not it, since you recently removed it...) > > You mention plasma keeps using more memory, but you haven't quantified this. > Please provide numbers of initial values and approximate rate of growth (for > reproducibility and comparison). I replied partly to this in a previous comment (before I noticed the "reply" links) but as to the subject of kde-4.2.2 from updates-testing: I didn't want to install a possibly-unreliable test KDE on the system I was actively using so I installed Fedora 10 from scratch on my nephew's old computer. That has an NVidia card but I didn't install the proprietary drivers, or any other third-party software, just Fedora packages. I left it running for 24 hours with kde-4.2.1 first for comparison, and plasma's memory usage went from about 29MB to about 54MB in that period of time for no apparent reason. It was still rising a few hours later when I last checked. Then I tried the same thing with kde-4.2.2 and plasma's memory usage went from about 28MB to about 67MB in the same time period, give or take a few minutes or so. Of course these particular figures aren't huge by modern standards, but in any case I have yet to see any situation where the memory usage with either version doesn't continually rise over time, eventually reaching the point where plasma is the top memory user on the system, with no apparent upper limit to how much memory it will eventually try to grab. I can keep using the system by periodically restarting plasma, but having seen the figure exceed 500MB and keep going on a few occasions, and seeing that others have apparently been trying to point out something similar for some time, I don't think it should be too much of a stretch to consider this a real plasma bug (probably corresponding most closely to upstream bug https://bugs.kde.org/show_bug.cgi?id=184394). Here is the response given by the Plasma devs in the above mentioned bug. Comment #4 From Aaron J. Seigo 2009-04-26 04:41:45 (-) [reply] ------- "won't go chasin' waterfalls.." sing it with me: "vague reports with no way to reproduce aren't closable ..." that said, we nailed a number of slow leaks, e.g. on each started job. So it appears upstream is aware of the situation. There is nothing the KDE-SIG can do other than wait for upstream to find and stomp these issues so for now will close this as UPSTREAM. |