Skip to content

Continue becomes unresponsive after a few seconds #4620

Open

Description

@ma3me

Before submitting your bug report

Relevant environment info

- OS: MacOS 15.3.2 (24D81)
- Continue version: 1.0.3
- IDE version: Version: 1.98.1
- Model: Ollama different ones like llama3.3:70b-instruct-q5_K_M or qwq:32b-fp16
- config:
  
{
  "models": [
    {
      "title": "DeepSeek-R1 70B Q4",
      "provider": "ollama",
      "model": "deepseek-r1:70b-llama-distill-q4_K_M"
    },
    {
      "title": "Llama 3.3 70B Instruct Q5",
      "provider": "ollama",
      "model": "llama3.3:70b-instruct-q5_K_M"
    },
    {
      "title": "Llama 3.3 70B Instruct Q6",
      "provider": "ollama",
      "model": "llama3.3:70b-instruct-q6_K"
    },
    {
      "title": "Llama 3.3 70B Instruct Q8",
      "provider": "ollama",
      "model": "llama3.3:70b-instruct-q8_0"
    },
    {
      "title": "qwq:32b-fp16",
      "provider": "ollama",
      "model": "qwq:32b-fp16"
    }
  ],
  "chatModel": {
    "title": "qwq:32b-fp16"
  },
  "tabAutocompleteModel": {
    "title": "DeepSeek-Coder-V2 16B",
    "provider": "ollama",
    "model": "deepseek-coder-v2:16b"
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    },
    {
      "name": "test",
      "description": "Generate unit tests for the current file"
    },
    {
      "name": "deploy",
      "description": "Generate a deployment script for the current project"
    }
  ],
}
  
  OR link to assistant in Continue hub:

Description

This issue only happens since a few days in a spring boot project. Other projects are not affected. After I opened the project everything works for a while. Then the continue functionality becomes unresponsive. I can't chat, I can't open the continues settings, etc. As a side effect I can't copy text from vs code editors. I reduced the config already and removed for example the embeddingsProvider. I could not get ride of the issue.

To reproduce

  1. Open VS Code
  2. Open Spring Boot Application
  3. Wait a few seconds

Log output

As it seems the most relevant log, here is the renderer.log from the VS Code logs:

2025-03-12 18:01:25.820 [info] Started local extension host with pid 4348.
2025-03-12 18:01:26.114 [info] Settings Sync: Account status changed from uninitialized to unavailable
2025-03-12 18:01:26.665 [warning] Authentication provider continue was not declared in the Extension Manifest.
2025-03-12 18:01:28.582 [info] [perf] Render performance baseline is 9ms
2025-03-12 18:01:49.874 [info] Extension host (LocalProcess pid: 4348) is unresponsive.
2025-03-12 18:01:50.291 [info] UNRESPONSIVE extension host: starting to profile NOW
2025-03-12 18:01:55.320 [error] 
	 at wasm-function[37] (wasm://wasm/000b54aa:1:21980)
	 at wasm-function[84] (wasm://wasm/000b54aa:1:69439)
	 at wasm-function[87] (wasm://wasm/000b54aa:1:78382)
	 at wasm-function[234] (wasm://wasm/000b54aa:1:145089)
	 at js-to-wasm:iii:i (wasm://wasm/000b54aa:1:117851)
	 at parse (file:///Users/ma3me/.vscode/extensions/continue.continue-1.0.3-darwin-arm64/out/extension.js:124249:20)
	 at codeChunker (file:///Users/ma3me/.vscode/extensions/continue.continue-1.0.3-darwin-arm64/out/extension.js:562289:28)
2025-03-12 18:01:55.320 [error] 
	 at wasm-function[84] (wasm://wasm/000b54aa:1:69439)
	 at wasm-function[87] (wasm://wasm/000b54aa:1:78382)
	 at wasm-function[234] (wasm://wasm/000b54aa:1:145089)
	 at js-to-wasm:iii:i (wasm://wasm/000b54aa:1:117851)
	 at parse (file:///Users/ma3me/.vscode/extensions/continue.continue-1.0.3-darwin-arm64/out/extension.js:124249:20)
	 at codeChunker (file:///Users/ma3me/.vscode/extensions/continue.continue-1.0.3-darwin-arm64/out/extension.js:562289:28)
2025-03-12 18:01:55.320 [error] 
	 at wasm-function[49] (wasm://wasm/000b54aa:1:34501)
	 at wasm-function[24] (wasm://wasm/000b54aa:1:10272)
	 at wasm-function[23] (wasm://wasm/000b54aa:1:10039)
	 at wasm-function[234] (wasm://wasm/000b54aa:1:145089)
	 at js-to-wasm:iii:i (wasm://wasm/000b54aa:1:117851)
	 at parse (file:///Users/ma3me/.vscode/extensions/continue.continue-1.0.3-darwin-arm64/out/extension.js:124249:20)
	 at codeChunker (file:///Users/ma3me/.vscode/extensions/continue.continue-1.0.3-darwin-arm64/out/extension.js:562289:28)
2025-03-12 18:01:55.320 [error] 
	 at wasm-function[119] (wasm://wasm/000b54aa:1:100468)
	 at wasm-function[86] (wasm://wasm/000b54aa:1:75979)
	 at wasm-function[234] (wasm://wasm/000b54aa:1:145089)
	 at js-to-wasm:iii:i (wasm://wasm/000b54aa:1:117851)
	 at parse (file:///Users/ma3me/.vscode/extensions/continue.continue-1.0.3-darwin-arm64/out/extension.js:124249:20)
	 at codeChunker (file:///Users/ma3me/.vscode/extensions/continue.continue-1.0.3-darwin-arm64/out/extension.js:562289:28)
2025-03-12 18:01:55.320 [error] 
	 at wasm-function[15] (wasm://wasm/000b54aa:1:6606)
	 at wasm-function[84] (wasm://wasm/000b54aa:1:69439)
	 at wasm-function[87] (wasm://wasm/000b54aa:1:78382)
	 at wasm-function[234] (wasm://wasm/000b54aa:1:145089)
	 at js-to-wasm:iii:i (wasm://wasm/000b54aa:1:117851)
	 at parse (file:///Users/ma3me/.vscode/extensions/continue.continue-1.0.3-darwin-arm64/out/extension.js:124249:20)
	 at codeChunker (file:///Users/ma3me/.vscode/extensions/continue.continue-1.0.3-darwin-arm64/out/extension.js:562289:28)

Activity

  1. added
    area:chat
    kind:bug
    on Mar 12, 2025
  2. ma3me commented on Mar 19, 2025

    @ma3me
    Author

    I was able to nail it down to one specific file, a vue generated .js file of 115kb which is part of my static resource folder in my spring boot application. This unique file seems special because the very strange thing is, that in my vue project, this file is no issue for continue. If i remove this file from my spring boot application, continue does not get unresponse anymore and indexing completes.

  3. tomasz-stefaniak commented on Mar 20, 2025

    @tomasz-stefaniak
    Contributor

    @ma3me putting this file in .continueignore may make this problem more manageable: https://docs.continue.dev/customize/deep-dives/codebase#ignore-files-during-indexing

    I don't know if that's a problem in your case but we have occasionally had problems when running Continue with other extensions, in my Gitlens sometimes causes things to hang.

  4. ma3me commented on Mar 21, 2025

    @ma3me
    Author

    Thank you, @tomasz-stefaniak for this hint. When I put this file to .continueignore the problem also disappears.

    The issue also happens when all other extensions have been removed. Also after a complete new install of vs code and continue. Deleted all related files in hidden folders as well (~/.continue , ~/Library/Application Support/Code etc...)

    So I'm really sure that the indexer for creating the local embeddings of the codebase can't handle my special file. I saw the folder containing that file in continue gui showing the progress of the indexer.

    I can even trigger the issue when I put that file into a new empty folder and then open this folder with VS Code.

    Are you able to find the bug from the log above or do you need the file? If you need the file, how could I provide the file securely?

  5. added
    os:mac
    on May 7, 2025
  6. Zmidloch commented on Aug 4, 2026

    @Zmidloch

    Adding a data point to this issue rather than opening a new one — the log signature here (Extension host (LocalProcess pid: N) is unresponsive. → UNRESPONSIVE extension host: starting to profile NOW, freeze shortly after host start) matches five separate freezes I hit in one day, and a clean removal test points at Continue as the trigger. If the underlying mechanism turns out to be different from the codeChunker/tree-sitter path described in this thread, happy to split this into its own issue.

    Summary

    Five extension host freezes in one VS Code session, all 40–73 seconds after the extension host started. Continue activated (onStartupFinished) about 2 seconds after host start in all five, and logged the same pair of config errors on every startup. Uninstalling Continue was followed by a run of 40+ minutes under heavier load than any of the five freezing sessions, with zero freezes — one clean run so far, not yet repeated.

    Environment

    • VS Code, Stable channel, macOS 26.6, Apple Silicon
    • Continue extension installed and active (exact version not captured for this session)
    • Single workspace
    • Another AI extension (Anthropic's Claude Code) was also installed and active in the same window — see "what rules out other causes" below for why that one doesn't fit the pattern

    Timeline

    Same day, local time:

    # Host start Freeze detected Delay to freeze
    1 14:39:07 14:40:20 73s
    2 14:47:33 14:48:13 40s
    3 14:48:56 14:49:37 41s
    4 15:49:37 15:50:22 45s
    5 16:02:44 16:03:30 46s

    (Delay to freeze = time from this host's start to the "is unresponsive" report, not how long the host stayed unresponsive — the host behind row 4 was still spinning at 100% CPU when sampled 8 minutes later; see Evidence below.)

    Continue was uninstalled at 16:03:01 — during the lifetime of host #5, which had started at 16:02:44. That host still froze at 16:03:30, 29 seconds after the uninstall finished, which reads as "already activated in the running process," not "present on disk." The next host started at 16:16:31, about 13 minutes after the uninstall, and has run 40+ minutes and counting under a load heavier than any of the five freezing sessions, with no freeze. For scale: every one of the five freezes landed within 73 seconds of host start.

    Evidence

    What rules out other causes

    What I cannot prove yet

    • No symbolized stack names Continue's code directly on the spinning frame. The correlation (activation timing in all 5 cases, config errors present every time, clean removal) is strong, but it's correlation plus a single-variable A/B test, not a profile with a Continue file/function name on it.
    • The clean run after removal is one occurrence: the next host started ~13 minutes after removal and has run 40+ minutes without a freeze. Long compared to the 40–73 second freeze delays, but still a single sample. I have not repeated the install/uninstall cycle multiple times, and have not separately tested "installed but disabled" versus "fully uninstalled."
    • I have a detailed macOS CPU sample for only 1 of the 5 freeze events.
    • I haven't confirmed whether the Embeddings provider google-genai not found error is itself part of a retry loop, or an unrelated log line that just happens to fire at every startup regardless of what's actually spinning.

    Repro attempt / what would help narrow this down

    Given #4620 traced a similar symptom to one specific file triggering runaway tree-sitter parsing during indexing, it's worth checking whether the same mechanism explains the FileHandle::CloseReq::Resolve pattern above. If useful, I can:

    1. Reinstall Continue into an isolated profile (no other extensions) and reproduce the freeze 3–5 times, capturing a real symbolized profile via VS Code's built-in extension host profiler (Command Palette → "Developer: Show Running Extensions" → Start Extension Host Profile → reproduce → Stop → Save).
    2. Try the same file-bisection approach the Continue becomes unresponsive after a few seconds #4620 reporter used, to see if a specific file in this workspace triggers it.
    3. Report back whether the google-genai embeddings error timing lines up with freeze onset, or is unrelated noise.

    Can provide full log excerpts on request — kept this comment to the relevant lines for readability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:chatkind:bugneeds-triageos:mac

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions