TotalCmd 32bit and WinRAR 7.00: problem with 4GB "Out of memory!"

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
EXECUT0R
Junior Member
Junior Member
Posts: 6
Joined: 2024-03-16, 16:07 UTC

TotalCmd 32bit and WinRAR 7.00: problem with 4GB "Out of memory!"

Post by *EXECUT0R »

I start using the new WinRAR 7.00 with dictionary size of 2GB and 4GB. The TotalCmd 32bit (v11.03) have problems opening (unpacking) files inside those archives: "Out of memory!" error (the 64bit version of TotalCmd works). There's a workaround because I prefer to use the 32 bit version of TotalCmd (I've a lot of old plugins configured). What's seems strange to me is that I'm not exceeding the 4GB 32bit RAM limit (same error on 2GB dictionary size). Thanks.
User avatar
Dalai
Power Member
Power Member
Posts: 9393
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: TotalCmd 32bit and WinRAR 7.00

Post by *Dalai »

TC ships an unrar.dll which might need to be updated for the new features to work properly.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
EXECUT0R
Junior Member
Junior Member
Posts: 6
Joined: 2024-03-16, 16:07 UTC

Re: TotalCmd 32bit and WinRAR 7.00

Post by *EXECUT0R »

I replaced the unrar.dll (inside the TotalCmd directory) with the new "unrar.dll" (also tried also the "unrar64.dll") downloaded from the rarlabs website. But the behavior is the same.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6496
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TotalCmd 32bit and WinRAR 7.00

Post by *Horst.Epp »

EXECUT0R wrote: 2024-03-16, 16:18 UTC I start using the new WinRAR 7.00 with dictionary size of 2GB and 4GB. The TotalCmd 32bit (v11.03) have problems opening (unpacking) files inside those archives: "Out of memory!" error (the 64bit version of TotalCmd works). There's a workaround because I prefer to use the 32 bit version of TotalCmd (I've a lot of old plugins configured). What's seems strange to me is that I'm not exceeding the 4GB 32bit RAM limit (same error on 2GB dictionary size). Thanks.
You don't have 4GB Ram on an x86 application.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
EXECUT0R
Junior Member
Junior Member
Posts: 6
Joined: 2024-03-16, 16:07 UTC

Re: TotalCmd 32bit and WinRAR 7.00

Post by *EXECUT0R »

How much memory an x86 excutable can use on a 64bit OS?
For x86 executable on x64 machine it consumes by default 2GB; if "IMAGE_FILE_LARGE_ADDRESS_AWARE" is set it can use 4GB.
(MSDN)

I'll assume "TotalCmd.exe" doesn't support "IMAGE_FILE_LARGE_ADDRESS_AWARE" extension.

Thanks.
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: TotalCmd 32bit and WinRAR 7.00

Post by *Hacker »

EXECUT0R,
What's seems strange to me is that I'm not exceeding the 4GB 32bit RAM limit (same error on 2GB dictionary size).
Dictionary size is not equal to RAM usage. From WinRAR Help:
Compression memory requirements vary depending on the dictionary size, such as about 7x of dictionary size for 1 GB and 1.5x for 64 GB dictionary. Decompression needs slightly more memory than a single dictionary size.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
EXECUT0R
Junior Member
Junior Member
Posts: 6
Joined: 2024-03-16, 16:07 UTC

Re: TotalCmd 32bit and WinRAR 7.00

Post by *EXECUT0R »

Thanks a lot Hacker this explain very well the problem.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6496
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TotalCmd 32bit and WinRAR 7.00: problem with 4GB "Out of memory!"

Post by *Horst.Epp »

2EXECUT0R
If you install the combined 32/64 Bit TC
the x86 plugins are only one button press away.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
EXECUT0R
Junior Member
Junior Member
Posts: 6
Joined: 2024-03-16, 16:07 UTC

Re: TotalCmd 32bit and WinRAR 7.00: problem with 4GB "Out of memory!"

Post by *EXECUT0R »

Thanks Horst.Epp I'll try.
EXECUT0R
Junior Member
Junior Member
Posts: 6
Joined: 2024-03-16, 16:07 UTC

Re: TotalCmd 32bit and WinRAR 7.00: problem with 4GB "Out of memory!"

Post by *EXECUT0R »

For those interested I've bypassed (not solved) the problem simply unchecking "Configuration > Packer > RAR > Use internal un-RAR if possible".
Naturally there are drawbacks, if you choose a file to unpack you've to wait and it's not possible use TotalCmd till the process complete.
Post Reply