Out of memory-Probably not a bug but maybe something can be done

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
miskox
Member
Member
Posts: 187
Joined: 2003-06-11, 06:00 UTC

Out of memory-Probably not a bug but maybe something can be done

Post by *miskox »

TC 10b9, Windows 10 20H2

I downloadaded this file https://web.archive.org/web/20200606020809if_/http://ftp.freedb.org/pub/freedb/freedb-complete-20200601.tar.bz2

Tar file in the .bz2 has ~4 million files in it. I selected them all and wanted to extract them and TC crashed:

Code: Select all

---------------------------
Total Commander 10.00ß9
---------------------------
Out of memory.
Out of memory
Windows 10 Professional 10.0 (Build 19042), base: 00400000

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Delphi exception: EOutOfMemory
Stack trace:
754010D2
0044DF8A  0044E922  0042A3A2  0044DEC0  0042A3A2  0044C91D
0044E922  >0042A3A2  0044DEC0  0042A3A2  0042FB2A  0042FC78

Raw:
0044EC9B  00401F76  00402732  0042A3A2  0044DE16  0042A3A2
0044EC9B  0044C91D  0044EBF1  0043D6EE  0044DF12  0044DF8A
0044E922  0044E945  0042A3A2  0044DEC0  0042A3A2  0042CF35
00402E76  0044C91D  0044EBF1  0042C39D  0044DF8A  0044E922
0042A3A2  0044DEC0  0042A3A2  0044B5F1  0042FB2A  0042FC78
0042FE32  
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Da   Ne   
---------------------------
My computer has 4 GB of RAM but OS sees onl 3.7 (or something) - I should recheck this.

The first time the copy operation started successfuly, the second time it crashed.

And the point of this post: maybe TC should not crash - it should report an error (file comparison does this).

Saso
#224551
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Out of memory-Probably not a bug but maybe something can be done

Post by *ghisler(Author) »

It doesn't crash, it just gives an out of memory warning. You can try to close and re-open TC and then try again to open the file. The problem here isn't the available memory, but memory fragmentation (not enough memory space in one block for the huge list).
Author of Total Commander
https://www.ghisler.com
Post Reply