Reputation: 313
I am not able to create weblogic
domain from jdevloper
!
I am using Jdevloper 12.1.2(12c), when I am try to create domain on default integrated weblogic server
then that gives me error like this-
wlst > Error occurred during initialization of VM
wlst > Could not reserve enough space for object heap
wlst > Error: Could not create the Java Virtual Machine.
wlst > Error: A fatal exception has occurred. Program will exit.
I am re-Installed jdeveloper(12c)
,restart machine,set JAVA_HOME
environment variable but error still occur.
Please some body help me and fix this problem.
Upvotes: 5
Views: 5478
Reputation: 51
Modify %HOME%\oracle_common\common\bin\commEnv.cmd file setting USER_MEM_ARGS environment variable after ":continue" tag and re-create default domain again from Application Servers view on JDeveloper.
SET USER_MEM_ARGS=-Xms32m -Xmx1024m -XX:MaxPermSize=512m -XX:MaxHeapSize=512m
Upvotes: 3
Reputation: 3721
How much RAM does your machine have - you need at least 2GB.
Upvotes: 0
Reputation: 31371
This is a RAM problem for your JDeveloper process
Edit the jdev.conf
file (~/Oracle/middleware/jdeveloper/jdev/bin
) and add more memory to the file
AddVMOption -Xmx1024M
AddVMOption -XX:MaxPermSize=256M
which is 1 GB provided you have RAM available on your machine
Also check if your JDK is the 32 or 64 bit to match your OS
Upvotes: 0