VS Code + Continue Freezing and Showing “Not Responding” – Possible Issue Beyond Resource Usage
Before submitting your bug report
- [x] I've tried finding an answer on the Continue docs site
- [x] I'm not able to find an open issue that reports the same bug
- [ ] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Ubuntu 24.04.5 LTS
- Continue version: 2.0.0
- IDE version: 1.143.1
- Model: any
- config:
OR link to agent in Continue hub:
Description
I'm having an issue with VS Code + Continue. I have a 13th-generation Intel Core i7 processor, 23 GB of RAM, and an SSD, but I keep seeing this warning pop up frequently.
https://docs.accuhealth.cl/vscode.png
Sometimes VS Code also crashes. When it does, I think memory usage goes up to around 22–23 GB.
I previously had VS Code installed via Snap, but I recently downloaded and installed the .deb package from the official website. I think this has improved things a little.
Is anyone else experiencing the same issue?
consumo (htop) https://docs.accuhealth.cl/htop.png
The fact that VS Code shows the “Not Responding” message doesn't necessarily mean it's caused by high resource usage on my computer. I have a feeling something else is going on.
To reproduce
No response
Log output
🔍 Triage & Diagnostic Steps for VS Code Freezing / "Not Responding"
High memory spikes (~22–23 GB) and window unresponsiveness in VS Code with Continue typically indicate an unthrottled streaming loop or recursive file indexing rather than raw LLM generation latency.
Recommended Diagnostics & Potential Culprits
-
Local Indexing / Embeddings Loop:
- Check if Continue's
@codebaseindexing is stuck indexing large build directories (node_modules,.venv,.git, or build outputs). - Mitigation: Ensure your
.continueignoreexplicitly ignores heavy asset/binary folders:node_modules/ .venv/ dist/ build/ *.log
- Check if Continue's
-
Webview Stream Buffer Exhaustion:
- When an LLM model streams high token velocity, frequent state updates to the VS Code Webview without requestAnimationFrame throttling can choke Electron's main process, causing the OS to flag VS Code as "Not Responding".
- Test: Try switching the model temporarily to an Ollama / local model or disabling codebase indexing in
config.json("indexing": false) to isolate whether the freeze stems from the indexing background worker or the chat UI renderer.