Re: Rar5 format with large dictionaries.
Posted: 2024-10-20, 21:49 UTC
2ghisler(Author)
Read below, please.
2MaxX
I don't use Total7zip and IDK how it does it.
In Winrar and 7-zip you can increase a limit up to all the size of your RAM - 1 Gb (31 Gb) I've just unpacked 14 Gb file with 7-zip though it's been only 12 Gb free. And of course Winrar does the same. My current laptop has 16 GB RAM + 4 GB of SSD swap.
You can use 7zG.exe with -smemx30g switch (you've got it anyway if you use Total7zip) or unrarw64.exe with -mdx30 switch to unpack it.
Actually, if a person has a PC with 32 Gb memory installed only a file with a dictionary of 18 Gb can be created. Because the algo is asymmetric and it's meant 18 Gb for unpacking and requires 29 Gb to pack. And it requires 44 Gb to create a file with a dictionary of 30 Gb.
If we want to take for the beginning point the installed RAM maybe it's should be - 3 Gb dictionary or for some systems the swap will be used.Therefore I will use lelik007's suggestion to automatically unpack files when the dictionary size is at least 2GB smaller than the installed RAM.
Read below, please.
2MaxX
I don't use Total7zip and IDK how it does it.
In Winrar and 7-zip you can increase a limit up to all the size of your RAM - 1 Gb (31 Gb) I've just unpacked 14 Gb file with 7-zip though it's been only 12 Gb free. And of course Winrar does the same. My current laptop has 16 GB RAM + 4 GB of SSD swap.
You can use 7zG.exe with -smemx30g switch (you've got it anyway if you use Total7zip) or unrarw64.exe with -mdx30 switch to unpack it.
Code: Select all
7zG.exe e -smemx30g 30Gb.rar
UnRAR.exe e -mdx30 30Gb.rar
If it's about TC - because the limit isn't changed jet, this will be in the future builds.But can't do this for "14Gb.rar" with unRarDll now.
Actually, if a person has a PC with 32 Gb memory installed only a file with a dictionary of 18 Gb can be created. Because the algo is asymmetric and it's meant 18 Gb for unpacking and requires 29 Gb to pack. And it requires 44 Gb to create a file with a dictionary of 30 Gb.