Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Could not create the Java Virtual Machine. Jboss7 AS server startup issue

Tags:

java

jboss7.x

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 . . .
like image 726
Naju Avatar asked Mar 06 '26 06:03

Naju


1 Answers

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.

like image 169
imnd_neel Avatar answered Mar 08 '26 19:03

imnd_neel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!