Massive Memory Usage

Specific support for Deluge on Microsoft Windows OS
jriker1
New User
New User
Posts: 3
Joined: Fri Oct 28, 2016 2:31 pm
OS or Distro: windows

Massive Memory Usage

Postby jriker1 » Fri Oct 28, 2016 2:34 pm

Using Windows 2012. Running deluge as a service. Right now I have three blue-ray files downloading. Couldn't find out why I had no memory left on my 12GB ram system until I downloaded RamMap. It showed the following:

Torrent1 using 2.8GB RAM
Torrent2 using 2.15GB RAM
Torrent3 using 1GB RAM

What's the deal here?

Thanks.

JR

Shryp
Super Seeder
Super Seeder
Posts: 406
Joined: Mon Apr 20, 2015 10:20 pm
OS or Distro: Windows 7, Manjaro

Re: Massive Memory Usage

Postby Shryp » Sat Oct 29, 2016 12:31 am

The windows GUI toolkit has a memory leak in it. It isn't specific to deluge, it has to do with the backend API windows uses. You can use the thin client setup and not have the main window open all the time. You can also be sure to leave the main window on a screen that doesn't refresh often.

jriker1
New User
New User
Posts: 3
Joined: Fri Oct 28, 2016 2:31 pm
OS or Distro: windows

Re: Massive Memory Usage

Postby jriker1 » Sat Oct 29, 2016 12:47 am

think my original message causes your response not to apply however i mentioned im running deluge as a service. no window of any kind on screen.

jr

mhertz
Leecher
Leecher
Posts: 87
Joined: Wed Jan 22, 2014 5:05 am
OS or Distro: Arch Linux

Re: Massive Memory Usage

Postby mhertz » Sun Oct 30, 2016 12:16 pm

Hmm, the deamon itself can at times use more ram/cpu than you'd think, even though as said the GTK UI is normally accounting for alot of the load with it's continual "back and fourth" data transmitting.

Try play with diskcashe setting, and there's really no reason to have the cache too high i.e. max 512mb or so(defined in 16kb blocks).
The default 8mb works great for me(512*16kb=8192kb) and maxes my connection out at 16.1MB/s(150mbit down line) without exesive cpu/ram usage. I use latest stable deluge and libtorrent 1.0.9 and at times latest libtorrent 1.1.1.

If possible, and if above doesn't help, try updating libtorrent and/or deluge.

jriker1
New User
New User
Posts: 3
Joined: Fri Oct 28, 2016 2:31 pm
OS or Distro: windows

Re: Massive Memory Usage

Postby jriker1 » Tue Nov 01, 2016 2:37 pm

Thanks for the reply. Mine is set to default 512 cache size as I never changed it. I'll change to 8. If that doesn't help will try updating. Just recall the last time I updated Deluge the service was no longer stable and would stop running at various times so reverted. Since I'm on 3.1.12 and 3.1.13 is the latest that must be the version I had issue with. Maybe something to do with the python 2.7 requirement.

Thanks.

JR

mhertz
Leecher
Leecher
Posts: 87
Joined: Wed Jan 22, 2014 5:05 am
OS or Distro: Arch Linux

Re: Massive Memory Usage

Postby mhertz » Wed Nov 02, 2016 1:58 pm

Sorry I couldn't be of more help, but you're welcome regardless. Also, I apologise if I worded my previous post confusing, as you have a "sane" setting(default) i.e. 512 which just means 8MiB cache to libtorrent internally.


Return to “Windows OS”

Who is online

Users browsing this forum: No registered users and 4 guests