Cursor suddently in one project workspace display the context over 50M ? I try reboot , add .cursorignore, clear cache, still not work
but it’s work well in other project workspace
How to resolve the issue Thank you.
Cursor suddently in one project workspace display the context over 50M ? I try reboot , add .cursorignore, clear cache, still not work
but it’s work well in other project workspace
How to resolve the issue Thank you.
Hey, a few clarifying questions:
context exceeds the 50M limit?.cursorignore or .cursorindexingignore if you have them?.gitignore in the project? Cursor automatically respects it during indexing.In the meantime, here are a few steps to debug:
On Mac or Linux, from the project root:
du -sh *
On Windows:
Get-ChildItem -Recurse -File | Sort-Object Length -Descending | Select-Object -First 100 FullName,Length
.cursorindexingignoreImportant note: Cursor has two files:
.cursorignore excludes files from both indexing and all AI features like autocomplete and chat.cursorindexingignore excludes only from indexing, AI features still workTo fix the 50M limit issue, you usually want .cursorindexingignore.
The file must be in the project root. Example contents:
*.log
*.sql
*.db
node_modules/
.next/
dist/
build/
vendor/
__pycache__/
*.bin
data/
Cursor automatically skips files larger than 1 MB, but thousands of small files like node_modules can still add up and exceed the 50M limit.
After updating the file, open Cmd+Shift+J on Mac or Ctrl+Shift+J on Windows, then go to Indexing & Docs and start reindexing.
Let me know what you find from du -sh *, it usually makes the culprit obvious.