TC OOM when searching for duplicate files on large partition

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Vlad
Junior Member
Junior Member
Posts: 5
Joined: 2010-06-14, 13:42 UTC

TC OOM when searching for duplicate files on large partition

Post by *Vlad »

I know I was pushing TC over the limits, but maybe you'll be interested in this OOM (Out Of Memory). I was trying to recover some files from a dying HDD over the network, and due to some quirks either in the recovery software or in the way NTFS works, the recovery created several layers of folders with some files repeated over and over. Don't ask me why, but I wanted to find out the identical files and folders, so I launched a search for such files and folders on a couple of partitions of 700 GB in size. While searching (it hasn't reach the percent phase where it looked for identical items) it displayed the following error:
---------------------------
Total Commander 7.50a fin
---------------------------
Out of memory.

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

Delphi exception: EOutOfMemory
Stack trace:
7D4E237E
402CF0 576B00 577009 577009 577009 577009
577009 577009 577009 577009 577009 577009
577009 577009 577009 577009 577009 577009
577009 577009 577009 577009 577009 577009
577009 577009 577009 577009 577009 577009
577009 577009 577009 577009 577009 577009
577009 577009 577009 577009 577009 577009
577009 577009 577009 577009 577009 577009
577009 577009 577009 577009 577009 577009
577009 577009 577009 577009 577009 576450

Raw:
402CF0 402CF0 401F56 40202A 402CF0 402CF0
402CF0 402712 402F3C 658B2F 69C025 576B00
4438E9 414514 444733 442479 444689 443A3D
4443BA 4443DD 414514 44397B 414514 445DEB
468022 46808F 577009 4438E9 444733 442479
444689 443A3D 4443BA 4443DD 414514 690062
5C002E 577009 4438E9 444733 442479 444689
443A3D 4443BA 4443DD 414514 690062 5C002E
577009 4438E9 444733 442479 444689 443A3D
4443BA 4443DD 414514 690062 5C002E 577009

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes No
---------------------------

Thanks!

Vlad
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for your report. It looks like you got into some kind of infinite loop in the search function: Address 577009 is in function "searchdir" which calls itself recursively.
Author of Total Commander
https://www.ghisler.com
Post Reply