While starting weblogic - Unknown option or illegal argument: -Xmn600M.
Hi Experts,
I have cluster WCI environment where while starting the Weblogic i am getting below error.
Error:-
Unknown option or illegal argument: -Xmn600M.
Please check for incorrect spelling or review documentation of startup options.
Could not create the Java virtual machine
I have made the below changes in setDomainEnv.sh file
USER_MEM_ARGS="-Xms1024m -Xmx1024m -Xmn300M"
if [ "${SERVER_NAME}" = "" ] ; then
export USER_MEM_ARGS=" -Xms1024m -Xmx1024m -Xmn300M"
fi
if [ "${SERVER_NAME}" = "AdminServer" ] ; then
export USER_MEM_ARGS="-Xms2048M -Xmx2048M -Xmn600M -Xverbose:gc -XverboseTimeStamp"
fi
Please help.
Regards,
Vikrant Korde.