Author Topic: RSS feed causes massive memory leak  (Read 114 times)

koldKat

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
RSS feed causes massive memory leak
« 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.

Switeck

  • Forum addict
  • ****
  • Posts: 1230
  • Karma: +83/-1
    • View Profile
Re: RSS feed causes massive memory leak
« Reply #1 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.

koldKat

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: RSS feed causes massive memory leak
« Reply #2 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.

Switeck

  • Forum addict
  • ****
  • Posts: 1230
  • Karma: +83/-1
    • View Profile
Re: RSS feed causes massive memory leak
« Reply #3 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.