continue icon indicating copy to clipboard operation
continue copied to clipboard

VS Code + Continue Freezing and Showing “Not Responding” – Possible Issue Beyond Resource Usage

Open accuhealth-cl opened this issue 1 month ago • 1 comments

Before submitting your bug report

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


accuhealth-cl avatar Oct 28 '26 12:10 accuhealth-cl

🔍 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

  1. Local Indexing / Embeddings Loop:

    • Check if Continue's @codebase indexing is stuck indexing large build directories (node_modules, .venv, .git, or build outputs).
    • Mitigation: Ensure your .continueignore explicitly ignores heavy asset/binary folders:
      node_modules/
      .venv/
      dist/
      build/
      *.log
      
  2. 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.

shadialhasan avatar Nov 05 '26 00:11 shadialhasan