Registered Member
|
I saw the other thread about gigabytes of RAM/swap usage but it goes on to say they can't recreate..
From top:
I get this consistently and the usage just increases over time. Does ktorrent really need to use all that RAM? I see no settings available in the QT4 version to change how it uses/allocates memory. At this time I have 3 torrents downloading but at slow download speeds and 1 seeding with no current connections active. Global connection limit is 200, current activity as far as netstat is concerned is: ninpo@ncc-1701-e ~ $ sudo netstat -anp | grep -i ktorrent | grep -i tcp | wc -l 99 I didn't get these issues with utorrent even with heavier usage. I would however like to continue to use ktorrent, I much prefer the interface, the superior IP ban list management and the plugin system are all very welcome features. If it is misconfiguration on my might I'd love to know how I can mitigate this. Thanks in advance |
Registered Member
|
Well, you don't say what version you're using. But, for me, with the latest version, 3 plugins loaded, downloading 1, seeding 6, 5 not started:
and netstat:
I have only 256 megs of ram, with 450 megs of swap, and I don't have any problem with ktorrent's memory usage. I think George has further optimized memory usage recently too. Also, remember that KDE libraries are swelling that number, but get reused by any other KDE applications you use. |
Registered Member
|
Oops I forgot the version, my apologies. Version when I posted the above was 3.1.1, I just upgraded to 3.1.2.
4 torrents loaded, 3 downloading 1 seeding. |
Registered Member
|
What plugins do you have loaded? Are any of the torrents particularly big? If you look in the log file, how many chunks does it say you have in memory for each torrent? (Look at all the lines in a ten second span, there will be one line per torrent)
I just added another torrent, and it's downloading at 430KB/s, and is connected to 40 peers, and the numbers went up about 20%, but it's nowhere near what you have. Also my netstat still reads about the number of peers I have connected. Anyway, I don't know why I'm answering this, I guess just because my experience is very different from yours, and I wonder what's causing your high ram usage. When that download completed, my memory usage went back to what it was before. |
Moderator
|
|
Registered Member
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]