Repository navigation
Lower tree-sitter parse limits to cut CLI memory - #1557
vincenzosco wants to merge 0 commit into
Conversation
|
The title and description only describe lowering the tree-sitter parse defaults in More importantly, the diff is nowhere close to matching the stated scope. It also includes:
As submitted, a maintainer cannot review or port this as 'lower tree-sitter parse limits.' Please split this into separate PRs: one for the parse limits (with reasoning/benchmarks), and separate ones for the model catalog change, the keyboard handling, and the Windows bash fallback — each with its own description and tests. |
The CLI parses the whole project with tree-sitter on every run, which pushed client RAM toward 2GB. Lower the default file count, per-file size and total byte budget so typical projects stay well under 500MB. The CODEBUFF_MAX_PARSE_* env vars still override these defaults.