1
clrmame Discussion / Re: "Error While Adding" error during Rebuilding
« on: 03 September 2020, 23:21 »
Thank you so much for your reply. You gived to me the way to find what was wrong. The issue was around the -md=384m parameter. I had to reduce the dictionary size to 128MB. And I set two CPU threads max with the -mmt2 parameter.
I tested my 7Z command line with small files, it worked great. But with larger file size to compress (like .ISO or .CHD dumps) it returned a "Can't allocate required memory" error message. I use ClrMamePro with a Windows 10 x86 operating system. I think I shouldn't get this limit with a x64 version.
Excuse me to made you waste your time, I should have normaly be able to find that by myself. How ever most of your recommendations like solid mode archive and 7Z version are interesting to known.
For any people looking for, here is my new 7Z compression settings :
Compress : a -t7z -y -r -mmt2 -m0=lzma2 -mx=9 -mfb=1024 -md=128m -ms=off %1 %2
Delete : d -t7z -y -mmt2 -m0=lzma2 -mx=9 -mfb=1024 -md=128m -ms=off %1 %2
And for a quicker encoding using all CPU threads :
Compress : a -t7z -y -r -mmt8 -m0=lzma2 -mx=9 -mfb=1024 -md=16m -ms=off %1 %2
Delete : d -t7z -y -mmt8 -m0=lzma2 -mx=9 -mfb=1024 -md=16m -ms=off %1 %2
But the slower encoding compress more than the quicker encoding. For comparison purpose :
Original ISO file : 1425 MB
7Z slow encoding : 804 MB
7Z fast encoding : 831 MB
Zip slow encoding : 1070 MB
I tested my 7Z command line with small files, it worked great. But with larger file size to compress (like .ISO or .CHD dumps) it returned a "Can't allocate required memory" error message. I use ClrMamePro with a Windows 10 x86 operating system. I think I shouldn't get this limit with a x64 version.
Excuse me to made you waste your time, I should have normaly be able to find that by myself. How ever most of your recommendations like solid mode archive and 7Z version are interesting to known.
For any people looking for, here is my new 7Z compression settings :
Compress : a -t7z -y -r -mmt2 -m0=lzma2 -mx=9 -mfb=1024 -md=128m -ms=off %1 %2
Delete : d -t7z -y -mmt2 -m0=lzma2 -mx=9 -mfb=1024 -md=128m -ms=off %1 %2
And for a quicker encoding using all CPU threads :
Compress : a -t7z -y -r -mmt8 -m0=lzma2 -mx=9 -mfb=1024 -md=16m -ms=off %1 %2
Delete : d -t7z -y -mmt8 -m0=lzma2 -mx=9 -mfb=1024 -md=16m -ms=off %1 %2
But the slower encoding compress more than the quicker encoding. For comparison purpose :
Original ISO file : 1425 MB
7Z slow encoding : 804 MB
7Z fast encoding : 831 MB
Zip slow encoding : 1070 MB