System.OutOfMemoryException

Issue #28 resolved
Former user created an issue

https://s22.postimg.org/ai1k6kr7l/romcenter_bug.png

Command 'All' launched 1 items selected Rename files Renaming files... 0 files to process 0 files processed Done Remove useless files Removing files... 0 files to process 0 files processed Done Remove useless roms Removing roms... 0 files to process 0 files processed Done Rename roms Renaming roms... 0 files to process 0 files processed Done Import missing roms Importing roms... 1 roms to process pinkswts.zip : Rom pinkswts_u2 imported from pinkswts.zip/pinkswts_u2 Error: Exception of type 'System.OutOfMemoryException' was thrown.

Comments (13)

  1. Eric Bole-Feysot repo owner

    Hi how many ram do you have ? Do you have enough free space on disk ? Which datafile are you using ?

  2. Eric Bole-Feysot repo owner

    Thank you for your report. Can you post or send me (help at romcenter.com) the full log file located at C:\ProgramData\romcenter\romcenter.log ? I assume you're using beta 11, right?

  3. Mitchell Mebane

    I emailed you the log.

    Yes, I was using beta 11. Also, in case it makes a difference, I had been using Advanced -> Rename Files.

  4. Mitchell Mebane

    I was able to fix most of my ROMs by omitting the parents and just fixing the clones. However, Pokemon Black 2 and White 2 would trigger the exception no matter what. I think it's a legit out of address space isue.

    I converted RomCenter to 64-bit: 1. Convert RomCenter.exe and all the .NET DLLs to 64-bit using CorFlags.exe 2. Replace the 7z.dll and Firebird SQL DLLs with x64 versions 3. Delete the DLLs in the plugins\ folder

    After doing that, I was able to fix Pokemon Black 2 and White 2, and they renamed and merged properly.

  5. Eric Bole-Feysot repo owner

    Thank you for the tests. I will look for large address space problem and try to reproduce the problem with Pokemon rom.

  6. Eric Bole-Feysot repo owner

    I tried to fix the 134 biggest nds roms (numbered with no-intro nds dat): no problems ! Max memory used: 1.5GB. Can you give me the exact name of your roms before the fix ? Does it crash when fixing only 1 rom ? 2roms? or more? Can you post the full log file after a fix ? Thanks

  7. Eric Bole-Feysot repo owner

    Ok. I can reproduce the pb. It occurs with several big roms in one zip. Roms have to be moved to raise the exception.

  8. Log in to comment