When I open Android Studio after closing suddenly Android Studio reports an error Could not reserve enough space for 1572864KB object heap and the RUN button is disabled. How can I recover?
This Image describe the problem.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityWhen I open Android Studio after closing suddenly Android Studio reports an error Could not reserve enough space for 1572864KB object heap and the RUN button is disabled. How can I recover?
This Image describe the problem.
After some time i find the solution. The gradle.properties file contains the error. The HeapSize for configure gradle is not correct i replace the -Xmx1572m with -Xmx1024m and close the android project and open it again and sync it, rebuild it.