![]() Registered Member ![]()
|
Hello,
after letting ktorrent run for days it eats the memory out, looses its UI and goes in limbo. This morning it was still in background but the UI somehow crashed during the night. This is not the first time i had this situation. top utility gives me this line : VIRT 3293m RES 2.4g SHR 6972 S D %CPU 0 %MEM 88.8 TIME 1319:43 i have approximately 420 torrents in Upload and 2 or 3 in Donwload. There are 3Gb memory on my PC. |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
Well, it is not true, 3.2dev does not solve memory usage problems. Apparently, there are huge memory leak(s) somewhere as ktorrent starts with low memory usage and grows over time. After ~15 hours of running, I had the following situation (`free` output):
Right after quitting ktorrent:
So lets calculate 850348-402912+927820-596716=778540 Kb. This basically means that ktorrent used over ~778 MB of memory. That's enourmously high for ~20 torrents seeding. Unfortunately, ktorrent is very hard to valgrind on my PC as it runs very slow then. |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
I guess you want grep 'Piece cache' log. Here it is http://alioth.debian.org/~modax-guest/k ... ecache.log Oddly, "memory in use" is always 0B |
![]() Moderator ![]()
|
|
![]() Moderator ![]()
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]