Skip to content

Dart analysis server at 100% cpu indefinitely when opening the Dart SDK repo (or flutter engine, which includes a nested copy) #5101

@gaaclarke

Description

@gaaclarke

Description

The dart analysis server just sits at 100% when editing the flutter engine repo.

To Reproduce

  1. Check out the flutter engine repo
  2. Open it in VSCode with the dart plugin installed
  3. Notice that dart process that is running the analysis server sits at around 100% and never stops.

Expected behavior

I would expect the process to reach some stasis of VSCode is not being interacted with.

Screenshots

Maybe it's related that there is a huge number of issues that are reported that I never mind:

Screenshot 2024-05-09 at 9 03 50 AM

Logs

openfiles.txt

sample.txt

Details

  • Operating System and version: macOS 14.4.1
  • VS Code version: 1.89.0
  • Dart extension version: v3.89.20240509 (pre-release)
  • Dart/Flutter SDK version: engine 0e23e60093d162e19108fcf28233f918fdafc136
  • Target device (if the issue relates to Flutter debugging):

(spawned from #5084)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions