[BUG]: Cannot open directories with large file counts

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

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

Post by *ghisler(Author) »

Thanks for letting me know! The root function is using a separate process running with root rights, which sends the file listing as plain text via a pipe. TC converts this to a string and parses it for the file names and details. This conversion to string causes an out of memory error. I will parse the data in smaller parts to avoid it (seems to work so far).
Author of Total Commander
https://www.ghisler.com
Post Reply