Re: [opensuse] Kded4, Xorg, plasma-desktop Memory Leaks
On Fri, Apr 18, 2014 at 11:07 AM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 18/04/14 14:46, Lars Kruczynski escribió:
So is it normal behavior for plasma-desktop to balloon in size to 500 MB after opening up and closing multiple widgets and closing them, switching activities, etc?
Yes, closing widgets does not mean memory will be returned to the kernel. not even glibc operates that way.
No other application on Linux I've used exhibited this behavior and showed a memory size that continued to balloon the more you use it, combined with the fact that I read numerous bug reports on Novell and KDE Bugzilla about kded4, plasma-desktop, and Xorg leaking memory. No KDE dev acknowledged or denied that the plasma-desktop memory usage ballooning in size was by design. It it were, it seems to me they would have closed out the bug if that were the case. I also had an OOM condition under KDE 4 not too long ago which caused me to come back to a completely unstable desktop and I had to hit the reset switch. If I leave my desktop up long enough, Xorg, kded4, and plasma-desktop start taking huge amounts of memory. If I didn't have an OOM condition and read bug reports from others with no closure of those bugs because they were "by design" i would think otherwise, but I'm not convinced that this is by design. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 4/18/2014 12:43 PM, Lars Kruczynski wrote:
On Fri, Apr 18, 2014 at 11:07 AM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 18/04/14 14:46, Lars Kruczynski escribió:
So is it normal behavior for plasma-desktop to balloon in size to 500 MB after opening up and closing multiple widgets and closing them, switching activities, etc?
Yes, closing widgets does not mean memory will be returned to the kernel. not even glibc operates that way.
No other application on Linux I've used exhibited this behavior and showed a memory size that continued to balloon the more you use it, combined with the fact that I read numerous bug reports on Novell and KDE Bugzilla about kded4, plasma-desktop, and Xorg leaking memory. No KDE dev acknowledged or denied that the plasma-desktop memory usage ballooning in size was by design. It it were, it seems to me they would have closed out the bug if that were the case. I also had an OOM condition under KDE 4 not too long ago which caused me to come back to a completely unstable desktop and I had to hit the reset switch. If I leave my desktop up long enough, Xorg, kded4, and plasma-desktop start taking huge amounts of memory. If I didn't have an OOM condition and read bug reports from others with no closure of those bugs because they were "by design" i would think otherwise, but I'm not convinced that this is by design.
Can you list URLs for some of these bug reports, (After verifying that they apply to current versions?) Because none of us here are seeing this, so there must be something specific to your installation. I, like Most people, don't switch activities much, and activities can load a boat load of widgets, which DO NOT necessarily get shut down if you switch away from them. You mentioned (correct me if I'm wrong) that this didn't happen to other user accounts on the same machine? -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
A friend of mine is having the same issue, and here is the list he gave me, and he also had an OOM condition with KDE 4 on similar setup as mine. https://bugzilla.novell.com/show_bug.cgi?id=849735 https://bugzilla.novell.com/show_bug.cgi?id=861987 https://bugzilla.novell.com/show_bug.cgi?id=863078 https://bugs.kde.org/show_bug.cgi?id=271934 https://bugs.kde.org/show_bug.cgi?id=307246 On Fri, Apr 18, 2014 at 12:50 PM, John Andersen <jsamyth@gmail.com> wrote:
On 4/18/2014 12:43 PM, Lars Kruczynski wrote:
On Fri, Apr 18, 2014 at 11:07 AM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 18/04/14 14:46, Lars Kruczynski escribió:
So is it normal behavior for plasma-desktop to balloon in size to 500 MB after opening up and closing multiple widgets and closing them, switching activities, etc?
Yes, closing widgets does not mean memory will be returned to the kernel. not even glibc operates that way.
No other application on Linux I've used exhibited this behavior and showed a memory size that continued to balloon the more you use it, combined with the fact that I read numerous bug reports on Novell and KDE Bugzilla about kded4, plasma-desktop, and Xorg leaking memory. No KDE dev acknowledged or denied that the plasma-desktop memory usage ballooning in size was by design. It it were, it seems to me they would have closed out the bug if that were the case. I also had an OOM condition under KDE 4 not too long ago which caused me to come back to a completely unstable desktop and I had to hit the reset switch. If I leave my desktop up long enough, Xorg, kded4, and plasma-desktop start taking huge amounts of memory. If I didn't have an OOM condition and read bug reports from others with no closure of those bugs because they were "by design" i would think otherwise, but I'm not convinced that this is by design.
Can you list URLs for some of these bug reports, (After verifying that they apply to current versions?)
Because none of us here are seeing this, so there must be something specific to your installation.
I, like Most people, don't switch activities much, and activities can load a boat load of widgets, which DO NOT necessarily get shut down if you switch away from them.
You mentioned (correct me if I'm wrong) that this didn't happen to other user accounts on the same machine?
-- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Friday 18 of April 2014 12:43:25 Lars Kruczynski wrote:
If I leave my desktop up long enough, Xorg, kded4, and plasma-desktop start taking huge amounts of memory. If I didn't have an OOM condition and read bug reports from others with no closure of those bugs because they were "by design" i would think otherwise, but I'm not convinced that this is by design.
What are your plasmoids? I recall reading that some of them load pixmaps that are never freed, resulting in unbounded increase of memory use. Plasma-desktop definitely uses more memory than necessary here, because a part of it (about half) almost always ends up swapped out. Regards, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
The only ones I have is the desktop folder, and that's it. But by adding others, and just by general desktop use, plasma-desktop easily takes over 200 MB after starting at less than 100 MB. Yes, plasma-desktop does use way more ram than necessary, and the ram should be freed once a plasma is closed, and if there are broken plasmoids such as the weather app which doesn't work right and other ones which don't shut when you close them, the KDE devs should just remove the broken ones. 3/4 of them are totally useless anyway, like bouncing ball. On Fri, Apr 18, 2014 at 12:59 PM, <auxsvr@gmail.com> wrote:
On Friday 18 of April 2014 12:43:25 Lars Kruczynski wrote:
If I leave my desktop up long enough, Xorg, kded4, and plasma-desktop start taking huge amounts of memory. If I didn't have an OOM condition and read bug reports from others with no closure of those bugs because they were "by design" i would think otherwise, but I'm not convinced that this is by design.
What are your plasmoids? I recall reading that some of them load pixmaps that are never freed, resulting in unbounded increase of memory use. Plasma-desktop definitely uses more memory than necessary here, because a part of it (about half) almost always ends up swapped out.
Regards, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
auxsvr@gmail.com
-
John Andersen
-
Lars Kruczynski