title: Flutter Dart using too much memory during build
body: <p>I am developing a flutter application and sometimes dart using too much memory during build. </p>
  
  <p>Installed memory is 24GB in my iMac and I am not working after I click the run button.</p>
  
  <pre><code>Doctor summary (to see all details, run flutter doctor -v):
  [✓] Flutter (Channel master, v1.16.4-pre.18, on Mac OS X 10.15.3 19D76, locale en-TR)
  
  [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
  [✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
  [✓] Android Studio (version 3.6)
  [✓] VS Code (version 1.44.1)
  [✓] Connected device (1 available)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/YwrUZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YwrUZ.png" alt="enter image description here"></a></p>
  
  <p>How can I set dart memory usage limit?</p>