This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[4.0rc1] Memory leak

Tags: None
(comma "," separated)
Kulag
Registered Member
Posts
5
Karma
0

[4.0rc1] Memory leak

Mon May 10, 2010 10:30 pm
I've encountered a pretty bad memory leak in 4.0rc1. After about 8 hours, ktorrent was up to about 600 MB RAM usage, and was at 100% CPU usage of one core. I was unable to get the main window to display itself using the icon in the notifications area, and though the menu from that icon would appear, none of the options worked. I've left it longer than this, and it eventually crashes. I disabled the SOCKS proxy temporarily, and after running for a few hours ktorrent is still around 70 MB of RAM usage, so I'm guessing that's where the problem is.
George
Moderator
Posts
5421
Karma
1

Re: [4.0rc1] Memory leak

Wed May 12, 2010 5:47 pm
I will see if I can find a memory leak in the SOCKS code, don't see anything obvious at first sight.
Kulag
Registered Member
Posts
5
Karma
0

Re: [4.0rc1] Memory leak

Thu May 13, 2010 7:19 pm
On further testing, I think it's actually uTP support, not the SOCKS proxy that's causing it.
lengau
Registered Member
Posts
36
Karma
0

Re: [4.0rc1] Memory leak

Mon May 24, 2010 10:12 pm
I believe it is due to uTP. I have not had SOCKS enabled at all and have had this leak. I have disabled uTP and will keep you informed.
lengau
Registered Member
Posts
36
Karma
0

Re: [4.0rc1] Memory leak

Wed May 26, 2010 6:25 pm
With uTP enabled, I would have crashes generally every 10-12 hours. I have not had a crash since disabling uTP.
netcelli
Registered Member
Posts
44
Karma
0
OS

Re: [4.0rc1] Memory leak

Sun May 30, 2010 6:44 pm
Hello, I'm using ktorrent 4.0 and i have crashes.
George
Moderator
Posts
5421
Karma
1

Re: [4.0rc1] Memory leak

Tue Jun 01, 2010 5:11 pm
So far no memory leak found in the µTP code, but memory usage does tend to increase slowly.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]