Mole icon indicating copy to clipboard operation
Mole copied to clipboard

[BUG] Analyze > App Library > failed to create new OS thread

Open daxitsolutions opened this issue 7 months ago • 1 comments

Describe the bug

when browsing to "Analyze > App Library"

  • Scanning: 49.0k files, 7.8k dirs, 16.4 GB ~/Library/Appli...rt/Steam/steamapps/workshop/temp runtime: failed to create new OS thread

Environment

Macmini:~$ mo --version

Mole version 1.34.0 macOS: 26.3.1 Architecture: arm64 Kernel: 25.3.0 SIP: Enabled Disk Free: 14Gi Install: Homebrew Shell: /bin/bash

Macmini:~$ mo update

✓ Already on latest version, 1.34.0

Additional context

Add any other context about the problem here, such as screenshots or related issues.

daxitsolutions avatar Apr 17 '26 21:04 daxitsolutions

@daxitsolutions thanks, the Steam workshop/temp path fans out hard enough that the previous goroutine limits (from #740) still exhausted OS threads.

Halved all four pool caps again (maxWorkers 32→16, maxDirWorkers 16→8, cpuMultiplier 2→1, minWorkers 8→4), so even with every walker blocked on a slow syscall the scan stays well under the per-user thread ceiling.

Will ship in the next release, you can run mo update --nightly to install the latest code version.

tw93 avatar Apr 18 '26 09:04 tw93