Page 1 of 1

Fixed RC4 b1 performance issues or bugs ?

Posted: Sun Jun 21, 2015 6:14 pm
by MELERIX
testing RC4 b1 and creating DB from emulator with MAMEUI32 0.162, memory usage can easily reach 550mb or more, making my PC practically unusable for several minutes, then RC4 b1 closes itself (I guess it crashed due out of memory).

My System:
CPU: AMD Sempron 145.
RAM: 1GB.
OS: Windows 10 Build 10130 (32 bits).

Re: RC4 b1 performance issues or bugs ?

Posted: Sun Jun 21, 2015 6:22 pm
by Wanderer
MELERIX wrote:RAM: 1GB.
!!!!! Windows 10 with 1GB ram ?!?! Yikes!
MELERIX wrote:(I guess it crashed due out of memory).
Yup, that would be my guess too. I suppose this is a rather unusual setup. From what i've seen in my laptop with 6GBs RAM, when creating a new db, the memory usage was about as much as yours (450-500 MB), so i guess this cannot be counted as a bug...

Re: RC4 b1 performance issues or bugs ?

Posted: Sun Jun 21, 2015 7:16 pm
by RomCenter
Count ~500 MB(stable) when creating a mame database. You also need 1 GB of free space on HD when creating/updating database for temp files.
I'm afraid I can't do much for that...

Re: RC4 b1 performance issues or bugs ?

Posted: Mon Jun 22, 2015 1:59 am
by MELERIX
Wanderer wrote:!!!!! Windows 10 with 1GB ram ?!?! Yikes!
yes, with 32 bit version, and it runs ok :P
RomCenter wrote:Count ~500 MB(stable) when creating a mame database. You also need 1 GB of free space on HD when creating/updating database for temp files.<br abp="657">I'm afraid I can't do much for that...
then RC4 b1 requires more memory than RC3.7.1 ?

because with RC3.7.1 I can create DB from MAMEUI32 0.160, the only issue was that it takes several minutes, but can be created anyway without major troubles.

maybe you can solve this, making RC4 autodetect the available free memory, and not use more than 50% of the available free memory ?

Re: RC4 b1 performance issues or bugs ?

Posted: Mon Jun 22, 2015 6:18 am
by Wanderer
MELERIX wrote:yes, with 32 bit version, and it runs ok :P
Nice! I knew that Win8 had memory-wise improvements from Win7 but i guess Win10 goes a long way.

In any case, it seems that this is a thing (the memory RC needs to go on) that will not be easy to overcome, at least not soon, so in the meantime can you create the mame db from another PC? I don't have an exact number but i'm estimating that the latest mane rdt, if 7zipped, it should be around 30-35MB so perhaps one of us can create and upload it somewhere or maybe Eric could post it here?

P.S. From what i've seen, loading a db (after having created it) consumes about 150-160MBs so you should be fine. I don't know how much the repair process consumes but i guess you'll have to try it out and see how it goes.

Re: RC4 b1 performance issues or bugs ?

Posted: Mon Jun 22, 2015 9:22 pm
by RomCenter
30 MB zipped for a mame 0.162 rdt.
I don't have time this evening with the forum troubles. :(

Re: RC4 b1 performance issues or bugs ?

Posted: Mon Jun 22, 2015 9:25 pm
by Wanderer
Yup, forum still needs some work...

Melerix, let me know if you want this, i can upload it elsewhere.

Re: RC4 b1 performance issues or bugs ?

Posted: Tue Jun 23, 2015 2:29 am
by MELERIX
Wanderer wrote:Yup, forum still needs some work...

Melerix, let me know if you want this, i can upload it elsewhere.
yes, thanks.

later I'll try to create it in another PC, because is not a good idea having to request a DB for every new MAME released xD

I hope this performance issue/bug be fixed in the final release.

Re: RC4 b1 performance issues or bugs ?

Posted: Thu Jun 25, 2015 10:19 pm
by Wanderer
Hey, the forum is back. Are you OK with the db creation? Were you able to create it?

Re: RC4 b1 performance issues or bugs ?

Posted: Fri Jun 26, 2015 12:26 am
by MELERIX
Wanderer wrote:Hey, the forum is back. Are you OK with the db creation? Were you able to create it?
not yet, a new MAMEUI 0.163 has been released.

Re: RC4 b1 performance issues or bugs ?

Posted: Fri Jun 26, 2015 5:48 pm
by Wanderer
MELERIX wrote:
Wanderer wrote:Hey, the forum is back. Are you OK with the db creation? Were you able to create it?
not yet, a new MAMEUI 0.163 has been released.
Ha. We've been swamped with releases with major changes lately, aren't we? RC, mame, tosec. Everybody has changed something in the way they import/export data. Anyway...

I'll try to generate the db later and upload it somewhere so you can get it.

Re: RC4 b1 performance issues or bugs ?

Posted: Fri Jun 26, 2015 8:48 pm
by Phenix
Just wanted to point out a similar issue.

My specs:
Core i7-3770 CPU
16 GB RAM
Windows 7 Ultimate SP1 (x64)

While creating DB with mame64 v0.162, I got an Out of Memory error and RC 4 crashed. At that moment the memory usage was around 1.3 Gigs. After trying to start over at some point, the Romcenter simply closed without any message whatsoever.

On another note, I was delighted to see the filter options for the likes of Bad Dumps, No Dumps, Samples etc...
Though specifying the filters before the creation of the DB means that, if I ever want to change any of those, I have to create the DB all over. Wouldn't it have been possible to specify the filters after creating the database?

Re: RC4 b1 performance issues or bugs ?

Posted: Mon Jul 06, 2015 8:18 pm
by RomCenter
Can someone with an 'out of memory' error post a log file ? (in C:\ProgramData\romcenter)
Thank you

Re: RC4 b1 performance issues or bugs ?

Posted: Sat Jul 18, 2015 6:33 am
by Phenix
I was trying the RC4 beta 2. Crashed just as before.
I'm using MAME 0.162 and I've created the database fresh by importing from emulator.

I've attached the log as requested in 'C:\ProgramData\romcenter' as romcenter.7z as well as the firebird.log from the Romcenter program folder.

Re: RC4 b1 performance issues or bugs ?

Posted: Sat Jul 18, 2015 6:35 am
by Phenix
As an aside, is there a way to exclude device roms from the romsets (for example qsound)

Re: RC4 b1 performance issues or bugs ?

Posted: Sun Jul 19, 2015 12:52 pm
by RomCenter
No. But games filters will be improved in later versions.

Re: RC4 b1 performance issues or bugs ?

Posted: Sun Jul 19, 2015 12:53 pm
by RomCenter
I improved dat import and it greatly reduces memory usage in dat import. This will be avail in next release.

Re: RC4 b1 performance issues or bugs ?

Posted: Sun Jul 19, 2015 5:54 pm
by Phenix
Great news. :super: