[Bug]: High CPU/disk usage when indexing large generated data folders

Closed
#650 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

No file or test is named in the issue. Start by reproducing the sustained CPU and disk usage on Windows with fff-mcp while indexing a large generated folder, then trace the indexing entry point and measure which work persists. Done means large or excluded folders no longer cause prolonged slowdown, with a clear way to identify or limit indexing work.

Written by the indexing model from the issue text.

Description

bug
Which fff frontend?

MCP server (fff-mcp)

has logs

No response

Description

fff-mcp caused sustained high CPU and disk usage on Windows after it encountered a large generated data folder with many files.

After quitting/disabling fff-mcp, system performance returned to normal.

Expected behavior:

  • Large/generated folders should not cause prolonged system slowdown.
  • Indexing should be throttled, skipped, or easy to exclude.

Suggested fixes:

  • Add folder exclusions.
  • Auto-skip very large/high-file-count folders.
  • Limit concurrent indexing work.
  • Show which path is currently being indexed.
Dominant language
Rust
Stars
11.2k
Forks
473
Avg merge
2d 7h
Merged PRs (30d)
32

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dmtrKovalenko/fff

All issues in dmtrKovalenko/fff

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.