Flutter Dart consuming a lot of RAM memory during build

Asked

Viewed 459 times

1

I have installed the flutter for web, desktop and android. The problem happens in all platforms that I try to run a project, and it takes a long time to build the project, before it didn’t take that long and also didn’t consume all my ram memory. Is there any way to limit the memory of the flutter? Or would that be a problem in this version of Flutter? I have 8GB of RAM installed and if I let Dart building the project it ends up consuming everything and android studio to respond. Gerenciador de Tarefas mostrando o consumo de ram durante o Build para Web(Chrome) Flutter Doctor

  • Are you using vscode? What extensions?

  • I’m using android studio only with the basic plugins "Flutter" and "Dart".

1 answer

2


I deleted the folders ". dart_tool", "build" and "test". I restarted the PC and now during the build Dart can use at most 500-400MB.

Print do gerenciador de tarefas durante o build do projeto depois de deletar as pastas e reiniciar o PC

Browser other questions tagged

You are not signed in. Login or sign up in order to post.