Memory Leak Bug

General support for problems installing or using Deluge
Post Reply
eddycatboy
Member
Member
Posts: 15
Joined: Fri Nov 15, 2019 8:00 pm

Memory Leak Bug

Post by eddycatboy »

When using deluge, sometime it uses up a lot of memory space after sometime but it show only a little being used in Task Manger:
Image
And when i quit deluge, the memory space is now fine:
Image
Edit: For context, my RAM is over 8GB - 16GB and it's still using 48% of the RAM.
User avatar
ambipro
Moderator
Moderator
Posts: 445
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Memory Leak Bug

Post by ambipro »

This is due to memory mapping done by libtorrent 2.x

If you need this to be fixed, you can use libtorrent v1 instead, there is an installer (the one without lt2.0 on https://ftp.osuosl.org/pub/deluge/windows/?C=M;O=D) - cache settings will work normally on libtorrent 1.x

This is not a bug, and is by design for libtorrent 2.x

Alternatively, there's a plugin @mhertz and I came up with that you can install to limit libtorrent

viewtopic.php?t=56387
eddycatboy
Member
Member
Posts: 15
Joined: Fri Nov 15, 2019 8:00 pm

Re: Memory Leak Bug

Post by eddycatboy »

I had this for a full year, i didn't even know there was a fix.
I hope wslimit will be added by default in deluge & maybe add a message about this for first time users when using the libtorrent 2 version.
Thank you.
Post Reply