title: How to solve java.lang.OutOfMemoryError: GC overhead limit exceeded error in android studio
body: <p>I am using <code>android studio 1.0 RC</code> for 64 bit linux. </p>
  
  <p>When I run my application I am getting </p>
  
  <pre><code>"java.lang.OutOfMemoryError: GC overhead limit exceeded"
  </code></pre>
  
  <p>When I searched on how to solve this error I got solutions like add: </p>
  
  <ul>
  <li>-XX:-UseGCOverheadLimit to studio.vmoptions or studio64.vmoptions</li>
  <li>-Xmx2000m to studio.vmoptions or studio64.vmoptions etc. </li>
  </ul>
  
  <p>These did not work for me. </p>
  
  <p>Please help. Thanks in advance</p>