Page 1 of 2

[Windows GTK client] Major issue with memory consumtion

Posted: Fri Nov 18, 2011 7:21 pm
by nanawel
Hi,

I'm experiencing some troubles with the memory consumption on Deluge GTK client (v1.3.1) on Windows XP SP3. When most of the time it only uses 40-60MB of RAM, sometimes (I don't know when) it reaches 600MB or even more and then keep growing until I have to close and restart it.

What is particularly odd is that I use the GUI only as a client to connect to a daemon (same version of course) running on my home server (Debian Squeeze), so basically the client does not handle files download at all in my configuration. The daemon itself is nicely stable and uses around 300MB maximum at all time (but I don't really care as long as it's lower than 800MB, the server has enough RAM).

I've attached a screenshot showing the situation after approximately 24h running (I added some *big* torrents to the queue in the meantime, two of them were 50GB+ large, don't know how it could be important though).

I guess there's a memory leak somewhere that could explain this behaviour. I've searched the forum but those who were reporting a similar problem were using the "Classic" mode of Deluge, so in some cases I can understand that downloading large files may explain the memory consumption. But in my case I don't see the point.

I'm using the 3 following plugins:
- Blocklist
- Label
- Stats

I've just disabled Stats to see if it makes a difference in the next days.

If I forgot some crucial information, please tell me. I may create a ticket soon if nobody can tell me how to fix this by tweaking the configuration (even if I'm pretty sure it's a bug, not a feature ^^).

Thanks in advance


PS: typical remark but anyway, sorry for my English :)
PS 2 : 10mn after the screenshot, Deluge is now at 930MB and keeps growing...

Re: [Windows GTK client] Major issue with memory consumtion

Posted: Fri Nov 18, 2011 11:45 pm
by Cas
Have you tried different version of GTK+?

http://sourceforge.net/projects/gtk-win ... vironment/

Re: [Windows GTK client] Major issue with memory consumtion

Posted: Sat Nov 19, 2011 1:14 am
by nanawel
I have not actually. It didn't even come to my mind.
It seems I'm using 2.10 which is quite old. I'll try with the latest 2.22.

Thanks! I'll let you know if it changes something or not.

Re: [Windows GTK client] Major issue with memory consumtion

Posted: Tue Dec 06, 2011 8:39 pm
by nanawel
It seems okay now. So updating GTK+ seems to be the solution.

Thanks!

Re: [Windows GTK client] Major issue with memory consumtion

Posted: Sun Dec 11, 2011 12:01 pm
by nanawel
UPDATE!
The problem happened again. As long as you just monitor torrents download it seems fine, but when you add several new torrent using the GUI it "silently" starts running crazy and a few hours later it uses the whole RAM left.

So finally updating GTK+ was NOT the solution. The issue seems definetely to be inside Deluge GUI and happens in the case I just explained.

Should I need to create a ticket on the bugtracker?

Re: [Windows GTK client] Major issue with memory consumtion

Posted: Sun Dec 11, 2011 2:53 pm
by Cas
This does not mean it is not still a GTK issue. The latest stable version is actually 2.24 which you can get as an All-in-one bundle.

If you delete the contents of the GTK2-Runtime folder in 'Program Files' you should be able to simply extract that zip file into it. Then create the theme file:
To use the MS-Windows theme engine, create a file etc/gtk-2.0/gtkrc
containing the line:
gtk-theme-name = "MS-Windows"

Re: [Windows GTK client] Major issue with memory consumtion

Posted: Sun Dec 11, 2011 6:33 pm
by nanawel
Well, I did the update as you told and I'm now having GTK+ 2.24 set up fine.
The demo program "gtk-demo.exe" works flawlessly but Deluge doesn't want to start anymore.

My PATH is okay, I created the file you said, and also ran the commands specified in the README of the GTK+ package, but I still cannot run Deluge.

Any idea?

Re: [Windows GTK client] Major issue with memory consumtion

Posted: Sun Dec 11, 2011 7:58 pm
by Cas
Oh yer I forgot you need the following dlls in '\bin' from the other installer.

Code: Select all

iconv.dll
jpeg62.dll
libjpeg-7.dll
libpng12-0.dll
libpng12.dll
libtiff-3.dll
libtiff3.dll
In case you did not keep a backup I have attached a zip of them.

Re: [Windows GTK client] Major issue with memory consumtion

Posted: Mon Dec 12, 2011 6:55 pm
by nanawel
Much better now!
Deluge starts again. I'll wait for the next time I need to add new torrents to download to see if the problem happens again.

Thanks for your help.

Re: [Windows GTK client] Major issue with memory consumtion

Posted: Thu Dec 15, 2011 7:07 am
by nanawel
Bum...

Problem's still here. Any other idea?