Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU usage on VSCode, endless analyzing loop #117

Closed
juandiago opened this issue Dec 28, 2023 · 4 comments
Closed

High CPU usage on VSCode, endless analyzing loop #117

juandiago opened this issue Dec 28, 2023 · 4 comments

Comments

@juandiago
Copy link

Describe the error
Hey! First of all, thanks for your package.
I noticed that on my project using vscode with dart_code_linter enabled, I have and endless "analyzing" loop that hogs my CPU and kills my lp battery. Any idea what might be causing this? As soon as I remove dart_code_linter from my yaml. configuration, everything returns to normal.

How ​​to replicate the bug
Step by step to reproduce the error:

  1. Open a project on vscode
  2. Enable dart_code_linter
  3. Watch the analyzer server running in a loop

Runtime environment

  • OS: macOS Ventura
  • VSCode: 1.85.1(using devcontainers, but I have also noticed it using a local instance)

Happy to help, If you guys need more information

@juandiago juandiago added the Error Report something not working label Dec 28, 2023

Assign to review: @santitigaga @ajtortolero

@app-toolkit-opensource-innersource app-toolkit-opensource-innersource bot added the Review/Pending Initial stage of the issue to evaluate its approval label Dec 28, 2023
@juandiago
Copy link
Author

juandiago commented Jan 2, 2024

Updating to Flutter 3.16.5(Dart 3.2.3) seems to fix the issue. I was using Flutter 3.13.5.

Closing.

@juandiago
Copy link
Author

juandiago commented Jan 2, 2024

on closer examination, issue is still present on 3.16.5

EDIT: seems to be vscode related, I'll try to gather more information....

@juandiago juandiago reopened this Jan 2, 2024
@santitigaga
Copy link
Contributor

@juandiago Hello, can you try the new release please

@santitigaga santitigaga added awaiting info and removed Error Report something not working Review/Pending Initial stage of the issue to evaluate its approval labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants