问题
when i'm running ionic build android --release
i get an error
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
Does anyone know the fix ?
回答1:
I got the solution by adding a new system variable name : _JAVA_OPTIONS
and value : -Xmx512M
回答2:
After changing the setting in the environment you should restart your Command Prompt CMD to update environment variables
回答3:
your solution: I got the solution by adding a new system variable name : _JAVA_OPTIONS and value : -Xmx512M Hi Amit where should I change this
来源:https://stackoverflow.com/questions/40385165/ionic-android-build-failed-unable-to-start-the-daemon-process