1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Massive memory leak

Discussion in 'StreamedMP' started by Stéphane Lenclud, August 23, 2014.

  1. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,503
    Likes Received:
    623
    Gender:
    Male
    Ratings:
    +1,216 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Hi guys,

    It seems we have a massive memory leak in the latest StreamedMP running on top of 1.8.
    I believe it managed to use up all my 16GB of system memory until is crashed MP. It did that a couple of times.
    As result either MP crashes or the UI is all black and broken, fan arts and background images are not loading anymore.
    Restarting MP fixes the issue until your RAM is full again.

    I did monitor MP RAM usage for a few minutes and it's pretty obvious that StreamedMP is leaking. On start-up it uses ~250MB after ~10mn it was around 350MB.

    Titan skin has no such problem. It remains at around 150MB.

    During monitoring I did not actually used MP so it remained on the Home Screen.



    Could it be a fan art issue?
    Anyone else seeing this? I think its a regression cause I do not remember getting those issues in the last two years :)

    Cheers,
    S.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,503
    Likes Received:
    623
    Gender:
    Male
    Ratings:
    +1,216 / 8
    Home Country:
    Germany Germany
    Show System Specs
    From some 235MB to 480MB in 1h20mn.
    Nasty, nasty bug :)
    upload_2014-8-23_11-50-59.png
     
    • Like Like x 1
  4. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,503
    Likes Received:
    623
    Gender:
    Male
    Ratings:
    +1,216 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Same issue after disable the fan arts handlers for all basic home menu.
     
  5. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,344
    Likes Received:
    4,124
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,218 / 0
    Home Country:
    Australia Australia
    Skins don't leak memory, MediaPortal's skin engine possibly is though.

    Each skin might use different features of MediaPortal, at the end of the day it's MediaPortal's job to behave correctly. No doubt you have a leak or something related but you need to raise this with the MP team.

    StreamedMP does not use any code to change artwork or navigate on BasicHome...the only thing that would be driven from code would be the latest media handling for TVSeries and MovingPictures.I highly doubt there is a memory leak of that magnitude related to that though.

    Try disable all plugins except for StreamedMP config.
     
    • Like Like x 1
    • Thank You! Thank You! x 1
  6. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,503
    Likes Received:
    623
    Gender:
    Male
    Ratings:
    +1,216 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Yeah must be some graphics by the look of it.
     
  7. Gcarr

    Gcarr Portal Member

    Joined:
    August 17, 2014
    Messages:
    27
    Likes Received:
    4
    Gender:
    Male
    Ratings:
    +10 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    Stéphane, did you ever figure out what was causing this? I seem to be having this issue also. Over a GB of memory usage after about 45 minutes.
     
  8. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,503
    Likes Received:
    623
    Gender:
    Male
    Ratings:
    +1,216 / 8
    Home Country:
    Germany Germany
    Show System Specs
    No I did not investigate that any further. I'm not even sure I can still reproduce the issue. I've recently switched to Windows 10 doing a clean install following a disk crash.

    However since I noticed this issue I did get into the habit of closing MP when I'm not using it. That worked arround the issue well enough for me since you usually don't watch TV more than 3 hours at a time :)
     
    • Thank You! Thank You! x 1
  9. nfox

    nfox Portal Pro

    Joined:
    August 22, 2006
    Messages:
    162
    Likes Received:
    21
    Location:
    London
    Ratings:
    +24 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Speak for yourself ;)
     
    • Like Like x 1
    • Funny Funny x 1
  10. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,503
    Likes Received:
    623
    Gender:
    Male
    Ratings:
    +1,216 / 8
    Home Country:
    Germany Germany
    Show System Specs
    I just checked the memory usage of my MP 1.12 client with StreamedMP running and playing TV for like 6 hour on Windows 10 v1511.
    No memory leak there, it uses between 90MB and 110MB.
     
    • Like Like x 1
  11. Gcarr

    Gcarr Portal Member

    Joined:
    August 17, 2014
    Messages:
    27
    Likes Received:
    4
    Gender:
    Male
    Ratings:
    +10 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    I guess my problem was slightly different than yours, I never see any problem with TV. It only seems to appear when I play music and keep the Now Playing screen up. And even then, only with certain skins (two of 4 that I tested). I brought it up in the Mediaportal Support forum, hopefully someone can shed some light on it there cos I really like this skin :)
     
Loading...

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

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

             

  • Like Us On Facebook

  • 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!