Memory leak

Discussion in 'General Support' started by utilutil, September 10, 2012.

  1. utilutil

    utilutil Portal Member

    Joined:
    September 10, 2012
    Messages:
    5
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Greenland Greenland
    Hi, I recently added a new tuner (and did some other things so don't automatically assume...) and TVservice is increasing memory requirements at about 100MB / day. Not sure how to start diagnosing thins, where are logs (for default C: installation) ? New tuner is AF9015 BDA filter It's a tevion USB shows up in device manager as DVB-T 395U.
    Cheers,
    B.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,746
    Likes Received:
    1,420
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,849 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Have you tried,

    Start menu -> All Programs -> Team Mediaportal -> Mediaportal -> Mediaportal Debug Mode

    I'm pretty sure it includes tvserver logs, after running that you can check the zipped up log file bundle it creates on the desktop and see if it contains tvserver logs.
     
  4. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Hello utilutil

    Memory leaks are hard to trace with the logs... but please let us know if you find anything.

    mm
     
  5. utilutil

    utilutil Portal Member

    Joined:
    September 10, 2012
    Messages:
    5
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Greenland Greenland
    Follow up :
    Went to TV-Server Configuration > TV servers > servername > AF9015 BDA Filter > Edit > Unchecked Allow this card to be used for EPG grabbing. Problem went away. Device is kworld USB DVB-T TV stick II. OS Win server 2003. Driver from CD but same version as latest on kworld site (goes back to 2009).
     
  6. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    EPG grabbing can occur in the background, so it may appear like you've solved the problem. However, what happens if you run a tuning test on half a dozen channels for a couple of hours? My bet is that you'd have memory leaks again. In my opinion, the issue is likely in the driver. Otherwise I think we would have more reports of issues. This is the first report of a memory leak that I've seen in about 12 months, if not more...
     
    Last edited: September 13, 2012
  7. utilutil

    utilutil Portal Member

    Joined:
    September 10, 2012
    Messages:
    5
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Greenland Greenland
    It does look like the driver and I expected the problem to recur over time but would deal with it with a periodic restart of the service. I fired up process explorer (I never really got the hang of that tool) and had a look at the thread list but there's no memory info there so a guess they're sharing the heap? The light goes on on the tuner when it's in use so I'm assuming the filtergraph gets constructed and torn down on demand, is this correct ?
     
  8. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    TV Server is one process. Don't know about the drivers.

    The server side filter graph gets constructed either when TV Server starts (if you have preload enabled for the tuner) or when you first need the tuner. After that it normally remains built until TV Server is stopped or restarted. The graph is stopped/paused (depending on the "when card enters idle state..." setting) when you stop using the tuner for recording/timeshifting/EPG grabbing.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!