Page 1 of 1

Memory Leak Bug

Posted: Sat Nov 11, 2023 3:13 am
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.

Re: Memory Leak Bug

Posted: Sat Nov 11, 2023 3:18 am
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

Re: Memory Leak Bug

Posted: Sat Nov 11, 2023 3:25 am
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.