dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.2k stars 1.57k forks source link

Dart analyze takes alot of ram nearly 6GB out of 8GB #56923

Open Elfandy opened 7 hours ago

Elfandy commented 7 hours ago

i am building an app in flutter and i noticed a problem on all my devices that i develop on, that dart anlyze take alot of ram (min is 1.5 gb to max 7 GB) somtimes vscode crashes from that. when the ram usage spikes the dart sdk just frezze and not letting vscode make any suggestions or debugging i don't run any virtual machine withit i deveolp on physcal device over wireless debugging using adb connection Dart verison: 3.5.1 flutter version: 3.24.1 ram:8gb os:widnows 11 editor: VsCode cpu:Intel(R) Core(TM) i7-1065G7 CPU

dart-github-bot commented 7 hours ago

Summary: The user is experiencing high RAM usage (up to 7GB) by dart analyze in their Flutter project, causing VS Code to freeze and crash. This occurs on multiple devices with 8GB RAM running Windows 11 and using VS Code with Dart 3.5.1 and Flutter 3.24.1.