qBittorrent official forums

qBittorrent => Windows => Topic started by: koldKat on October 13, 2018, 11:16:46 pm

Title: RSS feed causes massive memory leak
Post by: koldKat on October 13, 2018, 11:16:46 pm
I haven't checked extensively for different combinations of the following RSS feed:
https://yts.am/rss/0/all/all/5
but it causes a MASSIVE memory leak in QB. By massive, I mean 1 mb/min increase in RAM on average. That's 3.5 GB increase in RAM usage per hour, until there's enough RAM and swap to go around. Then the whole system crashes. This is on a 64bit Windows 7.
Yes, I'm sure this is the cause. Been messing around with a whole bunch of feeds over hours and once this one is removed and QB restarted, the issue no longer appears.
On a side note, please remove the ridicouls captcha. It's taking several attempts, each time it appears, to "guess" the letters appearing.
Title: Re: RSS feed causes massive memory leak
Post by: Switeck on October 14, 2018, 02:35:04 am
Do you mean 1 MegaBYTE/second of ram leakage? (rather than 1 MB/min)

Otherwise, that'd only be ~60 MB/hour -- annoying, but take awhile to eat all the ram.
Title: Re: RSS feed causes massive memory leak
Post by: koldKat on October 14, 2018, 09:14:33 pm
Sorry, yes. I meant 1 megaBYTE per SECOND.
I suspect something changed in the RSS feed, which QB doesn't handle correctly because it's been all good until a couple days ago with the latest version (4.1.3). I also tested 4.1.2 but I'm getting the same issue there.
I know someone might say "well, the RSS feed is bad, they should fix that" but I reckon QB should handle such cases. I'd debug it but it's going to take me a hell of a lot of time to set it all up. That, and I'm a Java guy mostly.
Title: Re: RSS feed causes massive memory leak
Post by: Switeck on October 15, 2018, 04:06:31 pm
qBitTorrent devs seem tied up on core features crapping out.

I don't know if there's ANYBODY doing RSS feed work beyond making sure it doesn't explode on compiling.