Programing/Debugging
Getting Gradle error “Could not reserve enough space for object heap”
빅터크룸
2016. 9. 15. 11:15
https://services.gradle.org/distributions/
- Right click on start-button and open "System"
- Go to Advanced system settings on the left side
- Click the button "Environment Variables ..."
- In System Variables, click "New..."
- New Variable Name: _JAVA_OPTIONS
- New Variable Value: -Xmx1024M
- Click OK
- Restart Window Command or Program
Gradle will detect this option as below.
_JAVA_OPTIONS=-Xmx1024M