Crash on scanning too many files ?

Discussion in 'MPTagThat' started by Acteo, November 9, 2011.

  1. Acteo

    Acteo Portal Pro

    Joined:
    August 15, 2005
    Messages:
    203
    Likes Received:
    10
    Location:
    Echiré, France
    Ratings:
    +14 / 0
    Home Country:
    France France
    Show System Specs
    Hello,

    On startup MPTagThat scans music folder and crashes.
    Using Win 7 32
    Message "Running out of memory. Scanning aborted."

    Thanks for help




    Signature du problème*:
    Nom d’événement de problème: CLR20r3
    Signature du problème 01: mptagthat.exe
    Signature du problème 02: 3.0.3.0
    Signature du problème 03: 4eb198c4
    Signature du problème 04: System.Windows.Forms
    Signature du problème 05: 4.0.0.0
    Signature du problème 06: 4ba1e14e
    Signature du problème 07: 1457
    Signature du problème 08: ad
    Signature du problème 09: System.InvalidOperationException
    Version du système: 6.1.7601.2.1.0.768.3
    Identificateur de paramètres régionaux: 1036
    Information supplémentaire n°*1: 8305
    Information supplémentaire n°*2: 8305ada8eaf2b546e34b2fde8daa5483
    Information supplémentaire n°*3: db9a
    Information supplémentaire n°*4: db9a534e4511428047ce8852505194c3

    Lire notre déclaration de confidentialité en ligne*:
    Windows 7 Privacy Statement - Microsoft Windows

    Si la déclaration de confidentialité en ligne n’est pas disponible, lisez la version hors connexion*:
    C:\Windows\system32\fr-FR\erofflps.txt
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. hwahrmann
    • Team MediaPortal

    hwahrmann Development Group

    Joined:
    September 15, 2004
    Messages:
    4,489
    Likes Received:
    1,621
    Gender:
    Male
    Location:
    Vienna, Austria
    Ratings:
    +2,246 / 1
    Home Country:
    Austria Austria
    Yes, this is a known problem.

    Maybe you have selected the "Scan Subfolder" check bos and you are trying now to scan th complete Music collection.
    You can cancel the scan by pressing the Cancel button on Bottom Right, just right of the Progress bar.
    If you can't reach that, then you need to clean the config folder and start over.

    I know already how to fix that, but it takes quite a time, since i need to totally restructure the Grid handling.
     
  4. Acteo

    Acteo Portal Pro

    Joined:
    August 15, 2005
    Messages:
    203
    Likes Received:
    10
    Location:
    Echiré, France
    Ratings:
    +14 / 0
    Home Country:
    France France
    Show System Specs
    Re : Crash on scanning too many files ?

    OK
    Thanks for the info
    Hope you will find the time because this is a usefull application.
     
  5. jameson_uk
    • Team MediaPortal

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,403 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Don't suppose this is on the radar or you know what needs fixing?

    I want to run a script against my whole collection but it just dies. I re-arranged to put into A-Z folders but it is still crashing on a these. I don't fancy running the script manually for 600 artists...

    I think this is partly down to me having some large cover art and this is what is eating the memory
     
    Last edited: July 30, 2012
  6. hwahrmann
    • Team MediaPortal

    hwahrmann Development Group

    Joined:
    September 15, 2004
    Messages:
    4,489
    Likes Received:
    1,621
    Gender:
    Male
    Location:
    Vienna, Austria
    Ratings:
    +2,246 / 1
    Home Country:
    Austria Austria
    Tried somehow to fix it in latest version, by using virtual datagrid.
    But i still keep a copy of all the tags read in memory, and this causes troubles for large collections.

    I'm thinking of implementing some sort of Object Oriented Database, which allows me just reading back the stuff, which i need at time of processing.
    But it still needs some investigations and ofc implementation.
     
    • Like Like x 1
  7. jameson_uk
    • Team MediaPortal

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,403 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Are the images loaded into memory too? I have just re-ripped my collection and ended up with a load of 1500x1500 images which appear to be a bigger issue than the tags?

    just wondering if I could turn off loading images whether that would help at all??
     
  8. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    32 bit process can access 2GB memory. That is a lot for tags. It would have to be multi TB mp3 collection that creates such amount of metadata), unless abum art is kept in the memory as well. If the album art is kept in menory then it could be easier just to store that into some temp files instead of having to implement full blown object oriented DB for some temporary data.
     
  9. hwahrmann
    • Team MediaPortal

    hwahrmann Development Group

    Joined:
    September 15, 2004
    Messages:
    4,489
    Likes Received:
    1,621
    Gender:
    Male
    Location:
    Vienna, Austria
    Ratings:
    +2,246 / 1
    Home Country:
    Austria Austria
    I'm reading all tags, including the Picture or ID3 APIC and keep them in the Tag object, which i create.
    So this might be an issue.

    Previously i found that the System.Draw methods were the cause of the out of memory issues, when a picture was faulty.
    After i converted the image processing to FreeImage, the out of memory issues were gone. At least for that.
    But i get it afgain after reading around 3000 - 4000 files.

    So it seems to be really memory related.
    I will do another round of analyzing using DotTrace Memory.
     
    • Like Like x 1
  10. jameson_uk
    • Team MediaPortal

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,403 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    I am getting this with less than 1500 files but with a lot of large image files.
     
  11. Acteo

    Acteo Portal Pro

    Joined:
    August 15, 2005
    Messages:
    203
    Likes Received:
    10
    Location:
    Echiré, France
    Ratings:
    +14 / 0
    Home Country:
    France France
    Show System Specs
    Thanks !
    This is solved in last version !

    Thank you for this great improvement !
     
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!