If you get the below error in Eclipse Kepler while starting JBOSS server or any other server
Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap
Picked up JAVA_TOOL_OPTIONS: -Djava.vendor="Sun Microsystems Inc."
Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Then try to modify as like below by double clicking on the Jboss server from Servers tab in Eclipse and then click on "Open launch configuration" . Edit the vm arguments under the Arguments
if Xms & Xmx value is set to 1024 lower them to 512
-server -Xms512m -Xmx512m -XX:MaxPermSize=256m
No comments:
Post a Comment