[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 18:39:40
Message-ID: 200401011939.40647.klingens () kde ! org
[Download RAW message or body]

On Thursday 01 January 2004 19:06, Dirk Mueller wrote:
> they might be a trigger but not the cause. the pixmapcache size is limited
> to 1MB in total, so it can't leak, even though you found an inefficiency
> here (I agree the if should be changed to timer >= 0 && loop >= 0).

The cache doesn't seem to work properly though (at least on Qt 3.2) - the 
pixmap memory as reported by xrestop grows well above 2 Mb (it stops at 
2342kb here). If I explicitly call setCacheLimit( 512 ) to use a half Mb 
cache the pixmap memory used by Kopete still grows till 1451 kb until it 
stops leaking. When I close the chat window the pixmap memory drops back to 
147 kb. A new chat window eats some more, directly after opening one there's 
about 500 kb in use. In other words, a 512 kb pixmap cache actually eats a 
lot more, over a megabyte, and that's assuming all other pixmaps that xrestop 
reports are 'uncached'.

The rest of the issues mentioned in this bug report is likely either fixed now 
by independent commits or unrelated (and in the latter case requires vg's 
leakcheck instead of xrestop).

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

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