[Xfce-bugs] [Bug 16314] Possible memory leak in xfdesktop 4.14.1 when connecting and disconnecting DP monitor.

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Apr 11 16:13:14 CEST 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16314

--- Comment #17 from Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail.com> ---
(In reply to Andre Miranda from comment #15)
> By the way, you said xfdesktop was using 148MB for a 4K Display, in my case
> (1080p+720p) it doesn't go past 80MB, we can try to investigate this later,
> but I suspect the increased memory consumption is due the raw image buffer
> in memory, a 3840x2160 32-bits bitmap file is about 30MB, maybe GdkPixmap
> uses even more. Once again thanks!

It is possible to lower the memory consumption (RSS) by calling malloc_trim(0)
from "gdb --pid $(pidof xfdesktop)" to free about 30 MB of memory (on a 4K
display) to get 117 MB RSS.

It might be the case that some of the trimmed 117 MB isn't returned to the
operating system because of memory fragmentation. I will try to determine
whether this is the case.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list