Page 1 of 4

Memory leak in 1.3

Posted: Fri Oct 01, 2010 7:42 pm
by Kreuger
I'm using 1.3.0 on Ubuntu 10.10 and Ive been noticing lately huge memory leaks. Deluge has been using up to 500mb (according to Gnome System Monitor) on a regular basis making my computer pretty slow. Today I tried running just the daemon and then using Firefox to keep an eye on it and I still got huge slowdown. When I checked the usage again this time it was over 600mb for a freakin' daemon! And it was also using 70% of my CPU (which is normally a lot lower). Whats going on here?

Re: Memory leak in 1.3.0

Posted: Fri Oct 01, 2010 9:53 pm
by johnnyg
What version of libtorrent? There's a known bug with 0.15.3.

Re: Memory leak in 1.3.0

Posted: Mon Oct 18, 2010 11:47 pm
by Kreuger
I'm not sure if that's what I had before but Deluge seems fine now and I have 0.15.4 so maybe thats why

Re: Memory leak in 1.3.0

Posted: Wed Nov 03, 2010 11:37 pm
by flasher360
sorry for re-opening this thread but i have the same memory problem.

- ubuntu 10.10 (x64)
- deluge 1.3.0
- libtorrent 0.15.4.0

i have a total of 4gb ram in my notebook and top said the last time that deluge is using over 60% of it?!

when i start deluge it's using just a few percent like some other programs.
but the longer deluge is running the more memory it consumes.

it doesn't seem to affect any other programs as far as i noticed yet.
but in my opinion that behaviour isn't normal or is it?

thanks!

Re: Memory leak in 1.3.0

Posted: Fri Nov 05, 2010 6:18 am
by flasher360
so i updated to version 1.3.1 but it's still consuming more and more ram :/

second thing i noticed is heavy cpu load when rightclicking a torrent and choosing "open folder".
after that deluge seems to be hung up and i have to kill the process.

because it seems to work for most users without problems - what can be wrong here?

Re: Memory leak in 1.3.0

Posted: Wed Nov 10, 2010 8:11 am
by flasher360
new highscore: 75% of 4gb ram.
does anybody have the same problem or (better) a solution?

Re: Memory leak in 1.3.0

Posted: Wed Nov 10, 2010 1:16 pm
by Cas
flasher360 wrote:new highscore: 75% of 4gb ram.
does anybody have the same problem or (better) a solution?
I have the same setup but never see that kind of problem. How many torrent do you have and have you tried reinstalling?

The cpu usage is a known problem, see ticket #1396

Re: Memory leak in 1.3.0

Posted: Fri Nov 12, 2010 12:37 pm
by flasher360
Cas wrote:I have the same setup but never see that kind of problem. How many torrent do you have and have you tried reinstalling?

The cpu usage is a known problem, see ticket #1396
currently i'm running about 10 torrents.
i didn't try to reinstall yet.
but i will do it right now and post again in some hours.
*fingers crossed*

Re: Memory leak in 1.3.0

Posted: Sat Nov 13, 2010 1:56 am
by flasher360
purged deluge and reinstalled it but with no success.
still same behaviour.
deluge is now running about 14 hours and using 40% memory. :/

Re: Memory leak in 1.3.0

Posted: Mon Nov 15, 2010 8:58 pm
by flasher360
[DEBUG ] 21:57:02 torrentmanager:948 on_alert_save_resume_data
[DEBUG ] 21:57:02 torrentmanager:685 Opening torrents fastresume file for load.

could this cause the memory leak?