Skip to content

Disktree v0.1.4

Choose a tag to compare

@github-actions github-actions released this 21 Oct 05:47
· 7 commits to main since this release

Changes

  • Move the complete scan index and pending directory queue to temporary SQLite databases with bounded caches, avoiding memory growth proportional to the full file tree.
  • Keep directory paging, metric sorting, Unicode filename filtering, hard-link accounting, and exact removal validation.
  • Add a 3.3 million-file memory regression gate and a native macOS window memory check that can include rescanning.

Measured memory

A local macOS run scanned an entire home directory containing approximately 3.3 million files twice. Peak sampled process RSS was 133 MB, idle RSS was approximately 130 MB, and peak physical footprint was 54 MB. These are observations on one machine, not a universal memory cap.

The complete index used approximately 435 MiB of temporary disk space. The measured initial scan took about 23 seconds and the rescan about 74 seconds; scan times depend on the filesystem and workload. Temporary indexes are discarded when no longer needed.

Full changelog: v0.1.3...v0.1.4