Error Out Of Memory in flutter and Android studio

10,573

Solution 1

I just restarted my laptop.It worked

Solution 2

Restarting Android Studio is what worked for me Go to

File-> Invalidate Cache/ Restart -> Just Restart

Solution 3

Try to do the following steps:

  1. write this command in your terminal : $ flutter clean
  2. in file tab bar click on Invalidate caches
  3. restart

and it will be OK.

Share:
10,573
Mehrdad Hosseini
Author by

Mehrdad Hosseini

Updated on July 28, 2022

Comments

  • Mehrdad Hosseini
    Mehrdad Hosseini almost 2 years

    today when i try to run my flutter project on android studio, unfortunately i have got this error:

    c:\b\s\w\ir\cache\builder\src\third_party\dart\runtime\vm\zone.cc: 90: error: Out of memory.
    version=2.7.0 (Mon Dec 2 20:10:59 2019 +0100) on "windows_x64"
    thread=1736, isolate=main(00000239E9F1B690)
      pc 0x00007ff7ad514adb fp 0x0000003f991fc630 Unknown symbol
    -- End of DumpStackTrace 
    

    how can i solve it?