internal 7zip: Memory Error

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
funkymonk
Senior Member
Senior Member
Posts: 499
Joined: 2013-12-04, 09:56 UTC

internal 7zip: Memory Error

Post by *funkymonk »

TC 11.50b4 x32 dark @ Win11

Sometimes, there are is enough memory available when compressing with the new internal 7zip:
https://ibb.co/djtNc5S
  1. Bug: The message is partially in English and partially in German.
  2. Bug: The message box uses the light color theme even though the dark color theme is active for TC.
  3. The message is about insufficient memory. I have not spent time on finding the problem. However, at the time the error typically pops up, only a small fraction of RAM is in use.
    When I took the screenshot above, only 18% of 32GB RAM were in use and the 7zip options dialog said that only 384MB would be required.
    Sounds doable, right? A bug? As said: I have not investigated more...

    My 7zip settings: https://ibb.co/ZxzySfW
    BTW: Some items in some dropdown boxes of the 7zip options tab are marked with "*". What does this mean? Default? It's not explained in the help file.
  4. It happens every now an then that packing with 7zip works well several times. Then, the memory bug pops up and does so for all subsequent compression attempts -- even for files which were packed without any problem before. Restarting TC resolves the problem (until it happens again).
User avatar
Dalai
Power Member
Power Member
Posts: 10016
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: internal 7zip: Memory Error

Post by *Dalai »

funkymonk wrote: 2024-11-03, 11:28 UTCBug: The message is partially in English and partially in German.
The first part of the message is from the TC language file currently in use (or TC's internal English). The second part is the error text retrieved from the OS. I wouldn't classify this as a bug. However, I would probably add a linebreak between them and maybe add the numeric error code.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
petermad
Power Member
Power Member
Posts: 16099
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: internal 7zip: Memory Error

Post by *petermad »

The first part of the message is from the TC language file currently in use
There is no such string ("Error while compressing files:") in wcmd_eng.lng or inside TOTALCMD64.EXE

TC has a similar string though:
1127="Internal error compressing file!"

So the error must either be generated entirely by the OS, or maybe partly by the 7z dll

TCBIT7Z64.DLL has the string ("Error while compressing files:")
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Dalai
Power Member
Power Member
Posts: 10016
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: internal 7zip: Memory Error

Post by *Dalai »

2petermad
You're right, the first part is from the tcbit7z*.dll.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: internal 7zip: Memory Error

Post by *ghisler(Author) »

The tcbit7z error messages cannot be translated, sorry.

Moderator message from: ghisler(Author) » 2024-11-04, 08:54 UTC

Moved to will not be changed.
Author of Total Commander
https://www.ghisler.com
Post Reply