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 ?
I got the solution by adding a new system variable name : _JAVA_OPTIONS
and value : -Xmx512M
After changing the setting in the environment you should restart your Command Prompt CMD to update environment variables
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With