Limit of Copilot Spaces #182622
Replies: 2 comments
-
|
Yeah, that 210% progress bar is super misleading. You definitely aren't hitting a storage limit (MBs) — you’re hitting a context / token budget. Think of it this way: Since you already connected the repository, Copilot can “see” your code whenever it needs to. But when you manually add ~185 files, you’re trying to force-feed all that text into its active memory at once. That’s why it chokes, even with small files. The fix that works for me: Stop adding code files manually: Trust the repo connection for source code (.js, .ts, config). Only reference the "Brain": Use the Space references just for high-level docs like Architecture, ADRs, or rules. Basically, treat the references list as a cheat sheet for the AI, not a backup of your file system. Keep it to your top 20-30 docs and it should work fine. Cheers! |
Beta Was this translation helpful? Give feedback.
-
|
Copilot Spaces quotas appear to be enforced on indexed semantic content, not raw repository size. From experimentation, the Space “usage %” seems to include: Extracted plain text This explains why: Many small What to prioritize in a Space: Highlevel intent and structure, not raw source What to avoid: Entire folders Proven workaround: Project purpose Then reference that document instead of dozens of files. Agreed that GitHub should: Publish hard limits (tokens / embeddings) Until then, curation beats volume for Copilot Spaces. Copilot Spaces work best as a curated semantic context, not a mirror of your repository. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Copilot Feature Area
Copilot Workspace
Body
Copilot Spaces: “Exceeded size limit” at 210% with ~185 small files — what’s the actual limit and best doc strategy?
Hi everyone 👋
I’m setting up GitHub Copilot Spaces as a knowledge base for my project, but I’m hitting a size limit much earlier than expected, and I can’t find clear documentation about the quota/limits.
What I’m trying to do
The problem
When linking specific files/folders, I get this error:
What confuses me:
.mdand small config/test files).This makes me suspect the limit may not be based on raw file size, or the progress bar may be calculated differently (tokens/indexing/embeddings), or there may be a bug.
Steps to reproduce
Expected behavior
Questions
.lock, generated files, JSON snapshots, large config files, etc.PROJECT_OVERVIEW.md?What I’ve tried / notes
.md, small config/test files); no large binaries.Suggestions (if this reaches the product team)
If anyone knows the real limits or has a proven strategy for which documents to add to a Space, I’d appreciate any guidance. 🙏
Beta Was this translation helpful? Give feedback.
All reactions