If you have recently installed
Created a domain and then tried to start it only to find it fails with the error:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Could not reserve enough space for object heap
Could not create the Java virtual machine.
then edit the file
<domain home>\bin\setSOADomainEnv.cmd or sh (depending on your platform) and modify the line:
set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m
to something like:
set DEFAULT_MEM_ARGS=-Xms512m -Xmx768m
Start the weblogic server again. It should work.