Registered Member
|
Hi,
the current svn-version seems to have a memory leak. The program seems to use up another 1MB of ram every 2 or 3 seconds on my system... |
Moderator
|
What version of KDE and Qt are you running ?
We have encountered this problem before on kubuntu 5.10 (with KDE 3.4). The memory leaks do not come from our code, I am pretty sure about this, I have spent the whole week looking for them. Neither valgrind, nor other means turn up something. So the only logical conclusion is that they must be in KDE, Qt or some other library. Since I upgraded to KDE 3.5, things seem to be going better, memory usage now fluctuates with the number of chunks which are downloading. Which is how its supposed to be. |
Registered Member
|
|
Moderator
|
|
Moderator
|
|
Registered Member
|
|
Registered Member
|
I am having a similar problem. Since I have upgraded to KDE 3.5 (from the rc), my ktorrent will slowly but surely eat up more and more cpu and more and more memory. If left running for more than a couple hours, it will get so bad as to take up most of my sizable swap and to bog down everything. It once got bad enough that I though my computer had locked up.
It takes a lot of CPU and RAM to open it and, oddly enough, even more to close it (as much as it can get, often). It somtimes leaves connections open on close (the more process power it is taking up, the more it will leave open). If I do anything else to connect to the internet (firefox, gaim, etc), then it will take up even more cpu process and more ram (and will not "release" them when I stop using the other application). I have tried it both with and without plugins, with no change, and I have restricted the number of connections without much change. Upload speed and download speed never get terribly high. Though one version would occasionally crash, this is the first time I have had any such problems with Ktorrent. My versions are: Qt: 3.3.4 KDE: 3.5.0 KTorrent: 1.2dev (svn version gotten 12-4-05. also did the same thing post KDE-upgrade with the svn version obtained about a week ago) |
Moderator
|
|
Moderator
|
|
Registered Member
|
|
Moderator
|
|
Registered Member
|
|
Registered Member
|
|
Registered Member
|
|
Moderator
|
The memory leak is in KDE, and should be fixed in KDE 4.2.1, see this bug :
http://bugs.kde.org/show_bug.cgi?id=181810 |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar