Bug 72507 - Excessive Memory Consumption (System very slow)
Summary: Excessive Memory Consumption (System very slow)
Status: RESOLVED DUPLICATE of bug 71975
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 20:22 UTC by Francisco Guidi
Modified: 2004-01-12 21:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Guidi 2004-01-12 20:22:13 UTC
Version:           0.7.94 (using KDE KDE 3.1.94)
Installed from:    Compiled From Sources
Compiler:          Gcc 3.2.1 
OS:          Linux

Apparently there's a memory leak in kopete which leads to an excessive memory consumption. This happens even when Kopete is "idle"; the memory use increases continuously making the system really slow; it is easily solved by killing kopete and starting it again, but then again it starts consuming memory. In this precise moment top reports that kopete is using 61% of the memory (on a 512RAM DDR machine).
Comment 1 Andy Goossens 2004-01-12 20:32:31 UTC
Using Qt3.2? Do you have chatwindows open?
Comment 2 Francisco Guidi 2004-01-12 20:35:14 UTC
Sorry, missed that QT3.3.0b1; no chat windows open, kopete is in the 'system tray'.
Comment 3 Chris Smith 2004-01-12 20:42:40 UTC
This bug is probably a dupe of 71975, because even if you close all of your chat windows, the memory still leaks.

So if you started kopete, then someone talked to you and went away, then you close the chatwindow, the memory will still leak (at ~4mb/min).
Comment 4 Francisco Guidi 2004-01-12 20:48:52 UTC
Yes, something like that, I talk to someone (I don't activate the away option), then close the chat window (to the system tray) and the memory consumption keeps getting higher; it increases faster with a chat window open, but it still does when its in the system tray (actually it does not obey a ratio, at a certain point, under no special circumstances, it starts cosuming memory); just killed it at 69%. Later I'll run a strace or gdb on it.
Comment 5 Jason Keirstead 2004-01-12 20:49:52 UTC
Yes, in CVS Martijn made a patch correcting this (it now only leaks when the chatwindow is open ).

Also if you upgrade to QT 3.2 it will only leak to the pixmap cache limit ( 3 MB )



*** This bug has been marked as a duplicate of 71975 ***

*** This bug has been marked as a duplicate of 71975 ***
Comment 6 Francisco Guidi 2004-01-12 20:52:45 UTC
Ok, I'll try that... Thanks.
Comment 7 Andy Goossens 2004-01-12 20:56:08 UTC
Ugh, I meant "Qt 3.3" of course ;-)
Comment 8 Francisco Guidi 2004-01-12 20:57:54 UTC
Yes, thought so, didn't feel like downgrading to 3.2 :D
Comment 9 Jason Keirstead 2004-01-12 21:10:03 UTC
Nono you misunderstand.

The huge insane leak is in QT 3.3. There isn't as much of a problem in 3.2.

Its a bug in QT 3.3.
Comment 10 Francisco Guidi 2004-01-12 21:26:00 UTC
So, after all, I'll have to downgrade...
Comment 11 Martijn Klingens 2004-01-12 22:21:58 UTC
Subject: Re: [Kopete-devel]  Excessive Memory Consumption (System very slow)

On Monday 12 January 2004 21:26, Francisco Guidi wrote:
> So, after all, I'll have to downgrade...

Actually, if anyone is able to create a testcase for Qt to send to TrollTech 
that would be most welcome.

I'm running Qt 3.2 still and won't be able to update soon, so I can't fix it, 
and this *really* needs fixing before Qt 3.3 is finalized.