Registered Member
|
Hello all.
After upgrading from 3.2 i;ve noticed that memory usage has increased a lot. After a week ktorrent may consume up to 2Gb ram. This and entry from top after a couple of days running ktorrent
|
Registered Member
|
I can confirm that. KTorrent 3.2.x was using about 20mb of RAM or so, 3.3 (release version) has eaten 150mb for about six hours
|
Registered Member
|
|
Moderator
|
|
Registered Member
|
I'm not |
Registered Member
|
Me neither. But I think I'll start if it will work good |
Registered Member
|
I'm using the script. For now I've updated to 3.3 and will check how it behaves.
|
Moderator
|
The script is triggering a memory leak in krosspython, which is reported but hasn't been fixed yet.
|
Moderator
|
I fixed a whole bunch of memory leaks last week, but those weren't really serious (mostly forgetting to cleanup stuff at exit, should not impact runtime memory usage).
Gonna do some more valgrind runs with running torrents. Btw, which plugins are loaded ? Is DHT enabled ? |
Registered Member
|
DHT was enabled, no plugins were running (maybe just stats and whatever is enabled by default)
|
Registered Member
|
In rev: 1051036
All memory freed, but only at exit. Attached massif(valgrind) file. |
Registered Member
|
Memory leak is in DHT code. Disabling it solves the problem.
|
Registered Member
|
|
Registered Member
|
|
Moderator
|
Yes, I added some simple limits on DHT tasks, so when the lists grows to big they will just stop. |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]