Android Libgdx Could not reserve enough space for 1536000KB object heap
For the first time I am using Libgdx.
I can download and unzip finished. But error occured
Unable to start daemon process
Error occurred during initialization of VM Could not reserve enough space for 1536000KB object heap
In Android studio I got same problem. But I can Change it by
gradle.properties----> org.gradle.jvmargs=-Xmx512m
Then it works fine. But in libgdx, I don't know
Set a System Variables in your Environment Variables of your System.
Variable name: _JAVA_OPTIONS
Variable value: -Xmx512M
Give a Restart to your System.
链接地址: http://www.djcxy.com/p/82958.html