#195 Memory leak

v1.2.0.114
closed
None
5
2012-09-23
2004-06-11
Matt Spong
No

Something in RSS Bandit is leaking memory badly from time to time. Usually the program uses 50-60MB of RAM (according to task manager), but occasionally it will balloon up to 600MB and start thrashing my swap so badly I have no recourse but to kill the process. It's only happened a couple times, and I haven't noticed any pattern - the last time it happened it was just sitting there, I wasn't even using my machine, and when I came back it was swapping so hard it was unusable.

Sorry I can't give more info as to what's going on.

Discussion

  • Daniel Turini

    Daniel Turini - 2004-07-04

    Logged In: YES
    user_id=1076643

    I tracked down memory and resource leaks on the
    HttpWebRequest classes, which are also used by RSS Bandit.
    If you click on update all feeds with a big number of
    subscriptions (mine is around 200), see the handle count on
    the task manager: it starts raising, and
    I couldn't find any decent solution or workaround and still
    keep using the CLR provided HTTP classes.
    My "solution" was writing some WinHTTP API wrapper classes.
    By playing with the .NET CLR classes I could only reduce the
    leaks a bit, but not eliminate them.
    I don't know if WinHTTP would fit RSS Bandit, but if you're
    interested, I can contribute my wrapper classes to the project.
    If you want further details, please see my blog entry:
    http://dturini.blogspot.com/2004/06/on-past-few-days-im-dealing-with-some.html

     
  • Daniel Turini

    Daniel Turini - 2004-07-04

    Logged In: YES
    user_id=1076643

    Sorry, a typo in the previous message:
    "If you click on update all feeds with a big number of
    subscriptions (mine is around 200), see the handle count on
    the task manager: it starts raising, and falls a bit when
    the GC comes in, but it never comes back to the original
    number."

     
  • Torsten Rendelmann

    Logged In: YES
    user_id=714452

    dturini: sorry, your provided link does not work.

     
  • Daniel Turini

    Daniel Turini - 2004-07-05

    Logged In: YES
    user_id=1076643

    Sorry, probably the URL wrapped a line.
    Try this one:
    http://tinyurl.com/2e68h

     
  • Torsten Rendelmann

    Logged In: YES
    user_id=714452

    The link still does not work :( I also tried these on your own
    blog, same error: page not found.

     
  • mogwhy

    mogwhy - 2005-11-05

    Logged In: YES
    user_id=1335080

    Please refer to the following bug, identified as a duplicate
    of this:
    [ 1274596 ] Excessive System Resource Usage (Memory, User
    and GDI Objs)
    Bug #1274596

    Please note this issue makes this product unusable for me!

     
  • Torsten Rendelmann

    Logged In: YES
    user_id=714452
    Originator: NO

    Assume, for CLR 2.0 it is fixed now. For .NET 1.1 please refer to http://support.microsoft.com/?kbid=831138 if you WANT IT GET FIXED on your machine.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks