I'm facing error while starting the JBOSS 7 AS server as below...
JBoss Bootstrap Environment
JBOSS_HOME: C:\EAP-6.0.0.GA\jboss-eap-6.0
JAVA: C:\Program Files\Java\jdk1.7.0\bin\java
JAVA_OPTS: -client -Dprogram.name=standalone.bat -Xms1303M -Xmx1303M -XX:MaxPermSize=256M
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Press any key to continue . . .
I was facing the same issue. Based on above comments, I created an environment variable named
JAVA_OPTS
with value
-client -Dprogram.name=standalone.bat -Xms512M -Xmx512M -XX:MaxPermSize=128M
Hope this is more helpful.
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