飞镖消耗高CPU [英] Dart consuming high cpu

查看:93
本文介绍了飞镖消耗高CPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在vscode中,所有语言都非常适合其他语言,但是在编写dart文件时会消耗很高的cpu。重新安装也无法正常工作。

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


它几乎需要完成ram

it takes almost complete ram

我正在使用Windows作为工作环境。在vscode中打开抖动文件后,dart文件消耗了将近2 GB的内存,以至于我的笔记本电脑死机了,我不得不强制关闭笔记本电脑。

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.

推荐答案

我有相同的错误。

只需运行 flutter clean

有关更多信息: https:// github.com/dart-lang/sdk/issues/40243

对我有用。

这篇关于飞镖消耗高CPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆