I was facing a Java.lang.OutOfMemoryError: Java heap space
in the Websphere console.
To resolve that I have put the following generic VM args
-Xms512m –Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=512m
But after that I cannot start the server, it is showing
ADMU3011E: Server launched but failed initialization.
I cannot open the WAS Admin Console to revert the chnages back. What can I do in this case?
Referring to the valuable comments, I came to the following solution:
Go to
${PROFILE_HOME}/config/cells/${CELL}/nodes/${NODE}/servers/${SERVER}
and modify server.xml
Removed generic JVM arguments
-Xms512m –Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=512m
Then started the server again.