Skip to content

Lagging and Crashing after working for long periods of time #1721

@tensor-programming

Description

@tensor-programming

I am on the Flutter dev 1.6.0 version with windows 10 on VSCode Stable branch.

After updating to this version of flutter today, I was finding that the Dart Code extension was lagging and "crashing" after working for about 30-40 minutes worth of time. The extension wasn't crashing the editor but it would basically stop working to a point where I would have to go into my task manager and kill the dart instances. speaking of which, there seemed to be 2-3 open at once at all times while the analyzer was running and often times they would be taking up 100% of my memory (64 gigs on this machine) when these crashes happened. It was really annoying and isn't something that I've ever specifically encountered.

After killing the Dart instances, I would have to restart the analyzer (and sometimes the editor) which would buy me another 30-40 minutes worth of time.

This all happened during one of my live streams though you can't really see whats happening since I kept changing windows when I had to restart the editor. In the entire 2 hour and 30 minute session, I had to restart the editor 3-4 times.

Edit: Running the code in the Emulator and using DevTools didn't seem to change anything or tax the machine anymore then the normal analyzer.

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