Dart consuming high cpu

Viewed 3670

In vscode everything perfect for other language but when writing dart file it consumes high cpu. Reinstalling is also not working .

it takes almost complete ram

I am using windows as my working environment. After opening a flutter file in vscode, the the dart file consumes almost 2 GB of my ram so fast that my laptop freezes and i have to force shutdown my laptop.

2 Answers

Solved

It is due to type error while passing data from one file class to another file class.

Related