Getting warning message, "Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=XXXM; support was removed in 8.0 Error occurred during initialization of VM", while using JAVA 8 with JBoss EAP 6.
Issue
- Getting following warning while using
JAVA 8withJBoss EAP 6:
$ ./standalone.sh
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\jboss-eap-6.1
JAVA: \Java\jdk1.8.0_05\bin\java
JAVA_OPTS: -client -XmsXXXM -XmxXXXM -XX:MaxPermSize=XXXM
. . .
===============================================================================
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=XXXM; support was removed in 8.0
Error occurred during initialization of VM
Could not reserve enough space for 1335296KB object heap
Press any key to continue . . .
Environment
- JAVA
- 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
