https://www.upload.ee/files/17260734/6GbEmptyFile.rar.html
It's a default limitation in UnRAR64 v7 itself, not a bug of any kind and this is for x64 only. E.Roshal did it for the safety reasons.
In Winrar v7 (a format is still rar5) dictionaries to 64 Gb and with not degree of 2 (like 5) were introduced. And for unpacking, it's about ~ 1:1, so it requires 6 Gb free RAM to unpack provided file and 64 Gb to unpack the corresponding dictionary.
Winrar itself has the special setting for this (left) and -mdx switch. And in 7-zip 24.03 (right) Igor did the same exact option and the similar switch.
[img]https://www.upload.ee/thumb/17260803/Maximum_Dictionary_Size.jpg[/img]
So my suggestion is to have something similar in TC where we can define the maximum dictionary for unpacking otherwise we'll not be able to unpack rar5 files with the dictionary larger than 4 Gb. We can't define this limit statically too high because we don't know how much memory a user has and how much he wants to give for unpacking.- 7-Zip GUI and 7-Zip File Manager can ask user permission to unpack RAR archives that
require big amount of memory, if the dictionary size in RAR archive is larger than 4 GB.
- new switch -smemx{size}g : to set allowed memory usage limit for RAR archive unpacking.