GitHub - dundee/gdu: Fast disk usage analyzer with console …
Gdu tries to balance performance and memory usage. When less memory is used by gdu than the total free memory of the host, then Garbage Collection is disabled during the analysis phase completely to gain maximum speed. Otherwise GC is enabled. The more memory is used and the less memory is free, the more often will the GC happen.