title: Flutter: Exhausted heap space, trying to allocate 8589934608 bytes and laptop stops responding
body: <p><strong>When I run my flutter project it was giving me this error below, making my laptop stops responding.</strong></p>
  
  <blockquote>
    <p>Exhausted heap space, trying to allocate 8589934608 bytes</p>
  </blockquote>
  
  <p><strong>Screenshot:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/gsPVW.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gsPVW.png" alt="enter image description here"></a></p>
  
  <p>I am trying,</p>
  
  <ol>
  <li>flutter clean</li>
  <li>Restart my android studio</li>
  </ol>
  
  <p>But Error occur again and again and my laptop sotps responding.</p>
  
  <p><strong>How to resolve this issue?</strong></p>