how to Reduce the maximum heap size available to Android Studio code example Example: android studio heap size problem org.gradle.jvmargs=-XX\:MaxHeapSize\=256m -Xmx256m