Bug#326956: xserver-xorg: Memory leak
On Wed, Sep 07, 2005 at 11:57:01AM +0200, David Mart?nez Moreno wrote:
> El martes, 6 de septiembre de 2005 23:17, Siep Kroonenberg escribió:
> > Loading a new background image on the root window usually increases
> > the amount of memory taken up by Xorg by 2 or 3 mb, going by the RES
> > column of top.
>
> I suppose that this is not a bug, but that X.Org is translating the image to
> a bitmap, thus growing itself in size. I made this test:
>
> I had this JPEG image:
>
> -rw------- 1 ender ender 132873 sep 7 11:49 orbes.jpg
>
> Then converted with Gimp to a bitmap, and:
>
> -rw-r--r-- 1 ender ender 2359350 sep 7 11:51 orbes.bmp
> -rw------- 1 ender ender 132873 sep 7 11:49 orbes.jpg
>
> It was a 1024x768 image. It resulted between 2 and 3 MB.
>
> Could anybody from debian-x confirm my suspicions that this is normal
> behavior before closing this bug?
>
> Best regards,
>
>
> Ender.
Such behavior would be acceptable if X.org forgot old background
images. But it doesn't. Try to successively load a series of
background images, e.g. from the KDE wallpaper collection, and the
memory occupied by Xorg will keep growing.
--
Siep Kroonenberg
Reply to: