minecraft Could not reserve enough space for 2097152KB object heap code example
Example: android studio Could not reserve enough space for 1572864KB object heap
org.gradle.jvmargs=-XX\:MaxHeapSize\=256m -Xmx256m
org.gradle.jvmargs=-XX\:MaxHeapSize\=256m -Xmx256m