android studio increase memory heap code example Example: android studio heap size problem org.gradle.jvmargs=-XX\:MaxHeapSize\=256m -Xmx256m