title: Android Gradle: What is javaMaxHeapSize "4g"?
body: <p>In an android project, <strong><em>build.gradle</em></strong> file, I have been through this line</p>
  
  <pre><code>dexOptions{
      javaMaxHeapSize "4g"
  }
  </code></pre>
  
  <p>I would like to know the exact purpose of this <strong>javaMaxHeapSize</strong> and what does that <strong>4g</strong> means. What are other values I can give ?</p>