Was trying to install a module using maven in IntelliJ IDEA. It threw the following error on doing so
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
My questions are:
- Is this due to the VM size settings in idea/bin/vmoptions file? Will increasing it make any difference?
- If so, how do I do it? Since I don't have the necessary privileges to edit the file, is there an other option to change it from IntelliJ rather than editing the file?
- If not possible will it be really worth requesting for admin priv for changing it?
Edit: Current vmoptions file contents (using Intellij IDEA 8.1.4 )
-Xms32m
-Xmx256m
-XX:MaxPermSize=150m
-ea