Description of problem: Every time I change the background wallpaper on GNOME the memory usage of X increases and never decreases. Version-Release number of selected component (if applicable): control-center-2.24.0.1-8.fc10.i386 metacity-2.24.0-2.fc10.i386 xorg-x11-server-Xorg-1.5.2-8.fc10.i386 Adding to F10DesktopBlocker for now. Please triage. How reproducible: 100% Steps to Reproduce: 1. login to GNOME 2. launch gnome-appearance-properties 3. choose Background 4. change wallpaper again and again 5. see the memory usage of Xorg Actual results: Attached. Here at last Xorg uses more than 1G memories. Expected results: Xorg memory usage should not increase
Created attachment 321379 [details] memory usage of X
hmm running xrestop on nautilus I get a constant 21 pixmaps after switching the background many times. memory usage did go up though. top first reported 2% memory usage and by the end reported 3.2% memory usage. Mamoru, does that jive with what you're seeing? xrestop shows no resource increases, but xserver memory usage goes up?
Well, (In reply to comment #2) > hmm running xrestop on nautilus On my usage: [tasaka1@localhost ~]$ gconftool-2 --get /apps/nautilus/preferences/show_desktop false and xrestop says (after switching wallpaper repeatedly) xrestop - Display: localhost:0 Monitoring 56 clients. XErrors: 0 Pixmaps: 362052K total, Other: 133K total, All: 362186K total res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier 1a00000 8 28 0 112 209 380928K 5K 380933K 30822 gnome-settings-daemon
Whats the verdict here ? memleak gone or not ?
Still I see this memleak.
I can reproduce this to, by disabling nautilus. We leak 1 pixmap every fade. It's probably a bug in gnome-desktop that only gnome-settings-daemon is hitting and nautilus is missing.
This should be fixed in tomorrow's rawhide.
Seems good, thanks!
It seems that this issue is reappearing with gnome-desktop-2.25.2-3.fc11.
Again: $ gconftool-2 --get /apps/nautilus/preferences/show_desktop false xrestop report: res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier 1800000 8 28 0 130 206 460288K 5K 460293K 9307 gnome-settings-daemon ps auwwx report: root 2567 6.6 36.8 558952 278936 tty7 Ss+ 15:36 8:56 /usr/bin/Xorg :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-sXRNeh/database -nolisten tcp
looking through the diff between before the old patch and the updated patch I see this: - g_object_ref (old_pixmap); in gnome_bg_set_pixmap_as_root_with_crossfade (). Will fix. Thanks for picking up on this so quickly.
should be fixed in the latest (still building) build.
Yes, it is fixed, thank you.