Potential Memory Leak when adding a large collection of movies | Page 4

Discussion in 'Moving Pictures' started by jasonwc, November 4, 2011.

  1. MonkeyJug

    MonkeyJug Portal Member

    Joined:
    October 18, 2012
    Messages:
    34
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +6 / 0
    Home Country:
    United Kingdom United Kingdom
    Please tell me. Six days i have spent wasting my life trying to fix this bug. I have replaced ssd, motherboard and today my 3570k cpu and NOTHINg has fixed it. I can't keep throwing money at this problem!!!


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,239
    Likes Received:
    1,336
    Ratings:
    +1,745 / 2
    The most common cause I see for this is a corrupt file, or bad header that freaks MediaInfo out.

    So you can disable MediaInfo easy via gear option inside MovPic config, or simply rename the mediainfo.dll file in MePo root folder.

    To find out corrupt file causing it, do not add 5000 files at once, but do 100 at a time, until you found the cause. If you are able to repeat that 50x without any issues and all 5000 import fine in batches, then your problem is fixed as well.
     
  4. MonkeyJug

    MonkeyJug Portal Member

    Joined:
    October 18, 2012
    Messages:
    34
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +6 / 0
    Home Country:
    United Kingdom United Kingdom
    Thanks for the reply. I am getting the exact same issue jasonwc describes, where doing a scan on a client (i have 3) will cause the memory usage on the master server to climb to 15.5gb and never get freed up afterwards...

    Would mediainfo still be a viable target to go after if this was a symptom?

    I have tried literally everything!!
     
    Last edited: February 1, 2013
  5. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    No.

    I would suspect the FlexRaid to cause the leak.
     
  6. MonkeyJug

    MonkeyJug Portal Member

    Joined:
    October 18, 2012
    Messages:
    34
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +6 / 0
    Home Country:
    United Kingdom United Kingdom
    I disabled mediainfo and tried again - same result.

    I then uninstalled Flexraid and created shares manually via windows to each drives' movies folder (I have ten drives in total).

    I then ran Moving Pictures and added each drive sequentially, and each drive increased the memory usage proportionally with the amount of movies on that particular share, until it maxed out. Identical symptoms to those of jasonwc a few posts back.

    This problem has just about tipped me over the edge! I cannot solve it AT ALL! It just doesn't make sense.
     
    Last edited: February 1, 2013
  7. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,239
    Likes Received:
    1,336
    Ratings:
    +1,745 / 2
    Run procexp.exe and/or filemon.exe tools from SysInternals (now Microsoft) to see what handles are being placed on the drive being scanned. I think you will find you have some 3rd party misbehaving tool/plugin that is causing the memory usage. So search and destroy :)

    I remember one user who disabled MediaInfo inside MediaPortal/MovPic/etc, and turned out their VFD had installed a registry entry for auto MediaInfo that ran simulanious in the background causing problems.

    ProcExp.exe is the tool I would use first, and while you have MePo running in windows mode causing the memory usage to jump up, do a CTRL+F and look for E:\ (or the drive letter in question), and see what processes have a handle open. Double clicking a handle entry will give you more details, for example the plugin might tie into explorer.exe process and not reveal itself until you dig deeper.
     
    Last edited: February 1, 2013
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!