[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#425095: Etch Xorg memory leak?



On Sat, 2007-05-19 at 09:09 -0400, Douglas Allan Tutty wrote:
> On Sat, May 19, 2007 at 12:32:08PM +0200, Michel D?nzer wrote:
> > On Fri, 2007-05-18 at 21:23 -0400, Douglas Allan Tutty wrote:
> > > 
> > > ssh titan -f /usr/bin/kpdf
> > > open a long file
> > > view each page in turn
> > > 
> > > As each new page is viewed, xorg uses more memory, and swap goes up.
> > > 
> > > Its as if xorg is using memory to hold the image for the new page and
> > > isn't releasing the memory used to hold the old page.  I conjuecture
> > > that its holding all viewed pages in memory.
> > 
> > Quite possibly, and likely on behalf of the client, i.e. kpdf in this
> > case. Please rule out first that kpdf is keeping pixmaps around, be it
> > on purpose or by accident.
> 
> Since I don't really know how remote X apps work, I thought that they
> just told the X server what to display; I didn't realize that they could
> compell it to keep pixmaps around.

Because pixmaps reside in the X server's address space, it's as simple
as creating pixmaps and never freeing them.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer



Reply to: