[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: QMovie leaking lots of pixmap resources
From:       Martijn Klingens <klingens () kde ! org>
Date:       2004-01-01 16:46:19
Message-ID: 200401011746.19550.klingens () kde ! org
[Download RAW message or body]

On Thursday 01 January 2004 17:39, Martijn Klingens wrote:
> On Thursday 01 January 2004 16:57, Dirk Mueller wrote:
> > valgrind is useful in finding memory leaks. You can download it from
> > http://valgrind.kde.org/ and run it on your application with
> > --leak-check=yes.
>
> Sure, but these are X server resources (pixmaps), as xrestop shows. Can one
> use valgrind for those too?

Also note that it's only leaking memory as long as the window is open. As soon 
as I close the chat window the pixmaps are freed again, I guess by the X 
server.

And while valgrind supports a leakcheck inside a program's execution (instead 
of on exit) I've never tried to find out how to do that. I guess it has 
something to do with including memcheck.h, right?

-- 
Martijn
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic