Memory leak (1 Viewer)

utilutil

Portal Member
September 10, 2012
5
0
76
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.
 

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,750
    New Zealand
    Home Country
    New Zealand New Zealand
    Country flag
    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.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,223
    Home Country
    New Zealand New Zealand
    Country flag
    Hello utilutil

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

    mm
     

    utilutil

    Portal Member
    September 10, 2012
    5
    0
    76
    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).
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,223
    Home Country
    New Zealand New Zealand
    Country flag
    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).
    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:

    utilutil

    Portal Member
    September 10, 2012
    5
    0
    76
    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 ?
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,223
    Home Country
    New Zealand New Zealand
    Country flag
    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?
    TV Server is one process. Don't know about the drivers.

    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 ?
    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.
     

    Users who are viewing this thread

    Similar threads

    As a general note on this, if GC.Collect were to resolve the issue then it's not a true memory leak as the GC only collects managed objects that the runtime can see are no longer being referenced, as oppose to either unmanaged memory being allocated outside of the runtime which the GC doesn't touch either way, or a lot of objects...
    As a general note on this, if GC.Collect were to resolve the issue then it's not a true memory leak as the GC only collects managed...
    There appears to be a memory leak in TvService.exe of about 15KB per hour. After restarting my system (W10, MP 1.27) Windows task...
    Replies
    42
    Views
    3K
    Nice find there Mr Henry. Wish I had that guide when I stumbled through the driver nightmare that is this device. Attached my copy of the driver zip in case the external web version disappears one day. There is also the option in Device Manager to roll back the automatically installed Microsoft driver (2009/2010) to the working...
    Nice find there Mr Henry. Wish I had that guide when I stumbled through the driver nightmare that is this device. Attached my copy...
    Hello, I have 3x Realtek RTL2832U usb DVB-T tuners in my MP1 TV Server. They appear as REALTEK DTV Filter with unique card IDs and...
    Replies
    3
    Views
    2K
    Also maybe try increasing the 'Tune' timeout in the TV Serve Configuration -> General tab -> Scan tab - see: General Configuration Default is 2 seconds - maybe try 5 seconds?
    Also maybe try increasing the 'Tune' timeout in the TV Serve Configuration -> General tab -> Scan tab - see: General Configuration...
    Hello! I'm new to all this, and new to the forum. I have bought a DVB-T tuner, and I can't seem to get it working with MediaPortal...
    Replies
    12
    Views
    3K
    Morning all. Ok, seems it works now ... not sure if it was the 1.28 "Prerelease" version (I updated to 1.28 Release) or a mistake I made - only one TV instance per client on AVM's DVB-C repeater. Still, I hope either Hauppauge reworks their driver once they're aware Windows 11 causes trouble (again a new Windows which causes...
    Morning all. Ok, seems it works now ... not sure if it was the 1.28 "Prerelease" version (I updated to 1.28 Release) or a mistake...
    AVM FritzBox / WLAN Repeater DVB-C channel scan helper This is a new plugin for the current "TV Engine 3", which is the version of...
    Replies
    107
    Views
    29K
    MPExtended (Mobil access) for MP2 only for TV access It's available and properly working since beginning of this year... I've used it until I switched over from DVB-S to SAT>IP in Spring 2018 where such things are no longer necessary at all.
    MPExtended (Mobil access) for MP2 only for TV access It's available and properly working since beginning of this year... I've used...
    We are proud to present MediaPortal 2.2 Final Since the recent release of MediaPortal 2.2pre, we fixed some minor things. We now...
    Replies
    11
    Views
    6K
    Top Bottom