Registered Member
|
Addon to log data hemorages memory.
I think it may be related to an old kross-python bug, but could somebody double check it isn't my code that is leaking it should fire a timer every 1000ms and then log the result of some stats lookups and a ping to a file. and it does do this but it also makes ktorrent eat up memory that is never released
|
Moderator
|
Check that the child processes you spawn with Popen are cleaned up, and they don't stay alive as zombies.
|
Registered Member
|
Sorry for the long delay, I've been quite busy with other stuff but i can confirm that there are no left over pings
It eats up memory at a significant rate (here it is after ~8 minutes)
DRS = + 83776 = 81MiB RRS = + 65560 = 65MiB Total = + 146MiB vs background ktorrent
DRS = - 19688 = -19MiB RRS = + 56744 = +55MiB Total = + 36MiB While the conditions are not identical it's a difference of over 100MiB in 8 minutes, making all my scripts unusable I think the bug is https://bugs.kde.org/show_bug.cgi?id=203922 based on last time i tried using kross Ktorrent Version 4.0.5 Using KDE Development Platform 4.6.2 (4.6.2) from kubuntu ppa
which krosspython from
|
Moderator
|
Krosspython appears to be not very actively maintained, it's most likely something similar like the already known memory leak.
Maybe it's time, I converted the existing scripts to ruby or javascript. |
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]