Summary: | Memory Leak in kdesktop with "Multiple Backgrounds" enabled | ||
---|---|---|---|
Product: | [Unmaintained] kdesktop | Reporter: | Philip Blatter <p0> |
Component: | wallpaper | Assignee: | David Faure <faure> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | finex, gcirne.trash, info, martines |
Priority: | NOR | ||
Version: | 3.4.1 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Philip Blatter
2005-08-16 11:28:46 UTC
*** This bug has been marked as a duplicate of 98597 *** I dont think, its a duplicate. In 98597 Xs Memory Usage is growing. In this Bug, kdesktop is growing. reopened Confirmed with KDE 3.5 on Slackware 10.2. kdesktop consumes about 400M memory, using 1 minute multiple background, in around 6 hours. "killall kdesktop" reclaims the lost memory immediately. I will post memory data when I collect some. After four hours: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 28223 frank 16 0 313m 286m 10m S 0.0 28.4 3:42.05 kdesktop Restarted: 32250 frank 15 0 43708 25m 10m S 0.0 2.6 0:04.56 kdesktop Same here with two Gentoo installations. One is KDE 3.4.1 and proprietary ATI driver, the other is 3.5.2 with proprietary nvidia driver. No problems when I set the background to plain color. Havn't tried a single wallpaper yet. As soon as I use multiple wallpapers on any system kdesktop starts eating memory. Normally around 100MB per day. I reported this on bugs.gentoo.org, but they told me this had to be an upstream issue. Regards, Alex!!! I have the same issue, but am not using the multiple (slideshow) backgrounds. Instead I have a lots of different (svg & png) backgrounds on all screens (xinerama dual-head setup), all scaled to fit the screen size. I suspect in my case the memory leaks whenever the resoltion is changed using the xrandr extension, e.g. when a game switches the second monitor off to run fullscreen. KDE version is 3.5.4, QT 3.3.6, xorg-x11 7.0.0, nvidia drivers. /Ernst Is everyone with this problem using SVG wallpapers? If so, it may have been fixed by revision 584936. See also bug 108326. SVN commit 586166 by kling: Fixed gargantuan memory leak with SVG wallpapers. Turns out KSVGIconEngine::image() returns a `new QImage'. BUG: 110873 M +3 -1 bgrender.cpp --- branches/KDE/3.5/kdebase/kcontrol/background/bgrender.cpp #586165:586166 @@ -361,7 +361,9 @@ } if (svgEngine->load(svgWidth, svgHeight, file )) { - m_Wallpaper = ( *svgEngine->image() ); + QImage *image = svgEngine->image(); + m_Wallpaper = *image; + delete image; } else { kdWarning() << "failed to load SVG file " << file << endl; } Bug closed. Kdesktop is no more mantained. |