5

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.

Alone
  • 313
  • 1
  • 8
  • 25

4 Answers4

3

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

0

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

JoseK
  • 31,141
  • 14
  • 104
  • 131
  • Thank you for reply JoseK,I try above but Jdevelope cant start,it shows an error 'Unable to create an instance of the java virtual machine at path: ----\jvm.dll – Alone Jul 07 '14 at 07:18
  • do u have enough RAM free to assign 1 GB to the process? try with -Xmx512M – JoseK Jul 07 '14 at 07:50
  • I have also set -Xmx512M ,Jdeveloper run but still same error occurred. – Alone Jul 07 '14 at 07:56
  • do you have an ide.conf file in the folder? can you move this to that file? – JoseK Jul 07 '14 at 07:59
  • Yes,I have added ide.conf file to jdev.conf but still not worked!! – Alone Jul 07 '14 at 08:53
0

How much RAM does your machine have - you need at least 2GB.

Shay Shmeltzer
  • 3,693
  • 1
  • 13
  • 9
0

Check to make sure you are using a 64bit JDK

Johnny
  • 1